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 <abelur@linuxfoundation.org>
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}"
--- /dev/null
+---
+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.