Fixing the patch test job 83/18683/1
authorLuis Gomez <ecelgp@gmail.com>
Sun, 19 Apr 2015 02:00:41 +0000 (19:00 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Sun, 19 Apr 2015 02:00:41 +0000 (19:00 -0700)
Change-Id: I16fee6bb146f9ff0080e4d8853dd1f920e2b1059
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
jjb/integration/integration-jobs.yaml
jjb/integration/integration-macros.yaml

index a08fb171e5ecb45c476e877ea3499f4bcef4c4c3..3d6fe8aaa25bc789803915d3e9fbbb45abe80b77 100644 (file)
     parameters:
         - project-parameter:
             project: 'integration'
+        - integration-patch-git-url
 
     scm:
         - integration-gerrit-scm:
                 project-pattern: '**'
                 branches:
                   - branch-compare-type: 'ANT'
-                    branch-pattern: '**'
+                    branch-pattern: '**/{branch}'
             skip-vote:
                 successful: true
                 failed: true
index b17eb4dabf36e76f01a43df1ea6b551340b147d6..bbf9fe7992e983f9ddafc594aba1b8520ba2f69f 100644 (file)
             default: '{test-options}'
             description:  'Robot command options'
 
+- parameter:
+    name: integration-patch-git-url
+    parameters:
+        - string:
+            name: PATCHGITURL
+            default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/$GERRIT_PROJECT'
+            description:  'Patch GIT URL (do not modify)'
+
 - scm:
     name: integration-gerrit-scm
     scm:
         - git:
             credentials-id: '{credentials-id}'
-            url: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/$GERRIT_PROJECT'
+            url: '$PATCHGITURL'
             basedir: '$GERRIT_PROJECT'
             refspec: '$GERRIT_REFSPEC'
             branches: