From: Jeremy Phelps Date: Mon, 29 Oct 2018 19:39:35 +0000 (-0500) Subject: Fix github-maven-merge scm config X-Git-Tag: v0.27.0~16 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=f0c64f33b5b065b9ab58c06eb46e898cbfcc5218;p=releng%2Fglobal-jjb.git Fix github-maven-merge scm config Specifying a refspec on this scm config causes no merge job to be triggered on a push action. Change-Id: I46066dc6e371f49ed58dcc4f439cb0fae63808db Signed-off-by: Jeremy Phelps --- diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 7e656f89..16e93c5f 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -622,8 +622,8 @@ scm: - lf-infra-github-scm: url: '{git-clone-url}{github-org}/{project}' - refspec: '+refs/pull/*:refs/remotes/origin/pr/*' - branch: '{branch}' + refspec: '' + branch: 'refs/heads/{branch}' submodule-recursive: '{submodule-recursive}' submodule-timeout: '{submodule-timeout}' choosing-strategy: default diff --git a/releasenotes/notes/fix_scm_merge-b5043a151549efd9.yaml b/releasenotes/notes/fix_scm_merge-b5043a151549efd9.yaml new file mode 100644 index 00000000..4b803757 --- /dev/null +++ b/releasenotes/notes/fix_scm_merge-b5043a151549efd9.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Specify refspec to be blank for SCM config on github-maven-merge job. Setting the + refspec to `+refs/pull/*:refs/remotes/origin/pr/*` causes there to be no merge job triggered.