From 9d3be9b0b2f683abb73b3931804d90977d971231 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 24 Jul 2019 22:17:27 +1000 Subject: [PATCH] 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 --- jjb/lf-ci-jobs.yaml | 3 ++- releasenotes/notes/add-image-name-to-desc-90aa357d3e65af3e.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/add-image-name-to-desc-90aa357d3e65af3e.yaml 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. -- 2.16.6