Set Packer Image name as Build Description 86/11786/2
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 13 Jul 2018 23:08:36 +0000 (16:08 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 25 Jan 2019 18:59:18 +0000 (10:59 -0800)
With the Build Description Setter plugin installed in Jenkins, the
packer image name can be extracted after a successful build.

This allows users to no longer look through the build logs when trying
to find the image name for builds.

Issue: RELENG-1073
Change-Id: Iffebd2b7e6b282d3e17a7bd6de1452e063f64603
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/lf-ci-jobs.yaml

index c34f63d..1a799c6 100644 (file)
           packer-version: '{packer-version}'
           platform: '{platforms}'
           template: '{templates}'
+      - description-setter:
+          description: '.*Creating the image:(.*)'
 
 - job-template:
     name: '{project-name}-packer-merge-{platforms}-{templates}'