Merge "Add packer image $NAME in description setting"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 26 Jul 2019 19:51:55 +0000 (19:51 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Fri, 26 Jul 2019 19:51:55 +0000 (19:51 +0000)
jjb/lf-ci-jobs.yaml
releasenotes/notes/add-image-name-to-desc-90aa357d3e65af3e.yaml [new file with mode: 0644]

index 45691fb..a90424c 100644 (file)
           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 (file)
index 0000000..2344295
--- /dev/null
@@ -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.