From: Anil Belur Date: Wed, 24 Jul 2019 12:17:27 +0000 (+1000) Subject: Add packer image $NAME in description setting X-Git-Tag: v0.40.0~9^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=9d3be9b0b2f683abb73b3931804d90977d971231;p=releng%2Fglobal-jjb.git Add packer image $NAME in description setting Add packer image $NAME in description setting so that the image name is displayed above the job logs URL. This saves a little time from looking for the image name in the console logs. Tested: https://jenkins.opendaylight.org/releng/view/packer/job/builder-packer-merge-centos-7-builder/57/ Issue: RELENG-2230 Change-Id: Id86ee9795e1bfd50850c4833fc6f90545367f113 Signed-off-by: Anil Belur --- diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 45691fbd..a90424c6 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -1449,7 +1449,8 @@ platform: "{platforms}" template: "{templates}" - description-setter: - description: ".*Creating the image:(.*)" + regexp: '(\s+.*)(ZZCI\s+.*\d+-\d+\.\d+)' + description: 'Image: \2' - job-template: name: "{project-name}-packer-merge-{platforms}-{templates}" diff --git a/releasenotes/notes/add-image-name-to-desc-90aa357d3e65af3e.yaml b/releasenotes/notes/add-image-name-to-desc-90aa357d3e65af3e.yaml new file mode 100644 index 00000000..2344295c --- /dev/null +++ b/releasenotes/notes/add-image-name-to-desc-90aa357d3e65af3e.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Add packer image $NAME to the description setting so that the image name + is displayed above the job logs URL. This saves a some time from + looking for the image name in the jobs logs.