Merge ~mthaddon/jenkins-launchpad-plugin/+git/jenkins-launchpad-plugin:comment-if-nominate-fails into jenkins-launchpad-plugin:master
Proposed by
Tom Haddon
Status: | Merged |
---|---|
Approved by: | Paride Legovini |
Approved revision: | 16d08ec3a49ddee753281a647bca5bd08c92f99a |
Merged at revision: | 16d08ec3a49ddee753281a647bca5bd08c92f99a |
Proposed branch: | ~mthaddon/jenkins-launchpad-plugin/+git/jenkins-launchpad-plugin:comment-if-nominate-fails |
Merge into: | jenkins-launchpad-plugin:master |
Diff against target: |
146 lines (+68/-12) 3 files modified
.gitignore (+1/-0) jlp/jenkinsutils.py (+26/-9) tests/test_jenkinsutils.py (+41/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paride Legovini | Approve | ||
Review via email: mp+398966@code.launchpad.net |
Commit message
Add a comment as a fallback if nominateReviewer fails in start_jenkins_job
Description of the change
Add a comment as a fallback if nominateReviewer fails in start_jenkins_job.
Per lp#1917331 allow jenkins-
To post a comment you must log in.
The change LGTM, I'd just add an info or warning message printed by launchpadTrigger to inform the CI maintainer about the fallback to a comment because the bot user doesn't have permissions. I can see myself being confused by the fact that some jobs add the commend, and others do not.