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
1=== modified file 'util/jenkins_job.py'
2--- util/jenkins_job.py 2013-08-09 16:11:15 +0000
3+++ util/jenkins_job.py 2013-08-15 15:46:25 +0000
4@@ -141,5 +141,12 @@
5 if not build:
6 logger.error("Failed to create build for {}.".format(jenkins_job))
7 except CiException:
8- logger.error("Jenkins job {} not known on Jenkins server {}.".format(
9+ # This happens when a job that was published in the past is not
10+ # found. This can happen due to multiconfiguration jobs that have
11+ # to be purged before the new style jobs can publish. In some cases
12+ # a new build is not available to republish the job.
13+ # It's also possible that an old, unused job is archived and deleted
14+ # from jenkins.
15+ # The dashboard should handle this gracefully.
16+ logger.info("Jenkins job {} not known on Jenkins server {}.".format(
17 jenkins_job.name, settings.JENKINS_URL))

Subscribers

People subscribed via source and target branches

to all changes: