Update the release job tigger 31/16431/2
authorAnil Belur <abelur@linuxfoundation.org>
Sun, 4 Aug 2019 08:35:30 +0000 (18:35 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Sun, 4 Aug 2019 08:35:30 +0000 (18:35 +1000)
Update release job template to tigger on any branch name, and not just
'**/master'. ODL projects branches are version '4.0.x' which requires
passing the branch name to the template.

Issue: RELENG-2129
Change-Id: I9c29d1c986fee73f6bad4fe39af8f9ffbda201c6
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/lf-release-jobs.yaml
releasenotes/notes/update-release-jobs-gerrit-trigger-151a3849847e235a.yaml [new file with mode: 0644]

index f016e37..3f226db 100644 (file)
               project-pattern: "{project}"
               branches:
                 - branch-compare-type: "ANT"
-                  branch-pattern: "**/master"
+                  branch-pattern: "**/{branch}"
               file-paths: "{obj:gerrit_trigger_file_paths}"
           skip-vote:
             successful: "{gerrit-skip-vote}"
               project-pattern: "{project}"
               branches:
                 - branch-compare-type: "ANT"
-                  branch-pattern: "**/master"
+                  branch-pattern: "**/{branch}"
               file-paths: "{obj:gerrit_trigger_file_paths}"
diff --git a/releasenotes/notes/update-release-jobs-gerrit-trigger-151a3849847e235a.yaml b/releasenotes/notes/update-release-jobs-gerrit-trigger-151a3849847e235a.yaml
new file mode 100644 (file)
index 0000000..62f0479
--- /dev/null
@@ -0,0 +1,6 @@
+---
+issues:
+  - |
+    Update release job template to tigger on any branch name, and not just
+    'master'. ODL projects branches are version '4.0.x' which requires
+    passing the branch name to the template.