Merge lp:~fginther/helipad/fix_lp1212487 into lp:helipad/ci

Proposed by Francis Ginther
Status: Merged
Approved by: Chris Johnston
Approved revision: 42
Merged at revision: 42
Proposed branch: lp:~fginther/helipad/fix_lp1212487
Merge into: lp:helipad/ci
Diff against target: 17 lines (+8/-1)
1 file modified
util/jenkins_job.py (+8/-1)
To merge this branch: bzr merge lp:~fginther/helipad/fix_lp1212487
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Chris Johnston Approve
Review via email: mp+180362@code.launchpad.net

Commit message

Missing jobs are expected during updates due to data being removed from the jenkins server, log this as info and not an error.

Description of the change

Missing jobs are expected during updates due to data being removed from the jenkins server, log this as info and not an error.

To post a comment you must log in.
Revision history for this message
Chris Johnston (cjohnston) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'util/jenkins_job.py'
--- util/jenkins_job.py 2013-08-09 16:11:15 +0000
+++ util/jenkins_job.py 2013-08-15 15:46:25 +0000
@@ -141,5 +141,12 @@
141 if not build:141 if not build:
142 logger.error("Failed to create build for {}.".format(jenkins_job))142 logger.error("Failed to create build for {}.".format(jenkins_job))
143 except CiException:143 except CiException:
144 logger.error("Jenkins job {} not known on Jenkins server {}.".format(144 # This happens when a job that was published in the past is not
145 # found. This can happen due to multiconfiguration jobs that have
146 # to be purged before the new style jobs can publish. In some cases
147 # a new build is not available to republish the job.
148 # It's also possible that an old, unused job is archived and deleted
149 # from jenkins.
150 # The dashboard should handle this gracefully.
151 logger.info("Jenkins job {} not known on Jenkins server {}.".format(
145 jenkins_job.name, settings.JENKINS_URL))152 jenkins_job.name, settings.JENKINS_URL))

Subscribers

People subscribed via source and target branches

to all changes: