Fix github-maven-merge scm config 29/13229/1 v0.25.x v0.25.4
authorJeremy Phelps <jphelps@linuxfoundation.org>
Mon, 29 Oct 2018 19:39:35 +0000 (14:39 -0500)
committerJeremy Phelps <jphelps@linuxfoundation.org>
Mon, 29 Oct 2018 20:24:21 +0000 (15:24 -0500)
Specifying a refspec on this scm config causes no merge job to be
triggered on a push action.

Change-Id: I6037e694c73fdfa2c6177eda4e83a6ad0895c3ae
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
jjb/lf-maven-jobs.yaml
releasenotes/notes/fix_scm_merge-b5043a151549efd9.yaml [new file with mode: 0644]

index eec2bdb..8dbf29c 100644 (file)
     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}'
           choosing-strategy: default
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
diff --git a/releasenotes/notes/fix_scm_merge-b5043a151549efd9.yaml b/releasenotes/notes/fix_scm_merge-b5043a151549efd9.yaml
new file mode 100644 (file)
index 0000000..4b80375
--- /dev/null
@@ -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.