From: Anil Belur Date: Sun, 4 Aug 2019 08:35:30 +0000 (+1000) Subject: Update the release job tigger X-Git-Tag: v0.40.3~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F16431%2F2;p=releng%2Fglobal-jjb.git Update the release job tigger 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 --- diff --git a/jjb/lf-release-jobs.yaml b/jjb/lf-release-jobs.yaml index f016e37b..3f226db4 100644 --- a/jjb/lf-release-jobs.yaml +++ b/jjb/lf-release-jobs.yaml @@ -124,7 +124,7 @@ 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}" @@ -204,5 +204,5 @@ 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 index 00000000..62f04792 --- /dev/null +++ b/releasenotes/notes/update-release-jobs-gerrit-trigger-151a3849847e235a.yaml @@ -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.