Use integration-patch-refspec in integration-python template 69/25469/5
authorVratko Polak <vrpolak@cisco.com>
Mon, 14 Sep 2015 14:15:42 +0000 (16:15 +0200)
committerVratko Polak <vrpolak@cisco.com>
Mon, 14 Sep 2015 14:21:29 +0000 (16:21 +0200)
Jobs integration-verify-python-* did not allow to specify
gerrit refspec to use (in contrast to SCIT jobs),
so they were not easily usable from Sandbox using Build with Parameters.

This change uses integration-patch-refspec to introduce new parameter
to specify what to clone, with $GERRIT_REFSPEC as default value.

Change-Id: I392aa1c971816f47facbc5aef7ac76b1b77b7601
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
jjb/integration/integration-test-jobs.yaml

index 07c3067a704b70606fdd7be81d7b22d88ede559c..8d85b2a66e4ba299238d791cd546dec6691c1a2b 100644 (file)
     parameters:
         - project-parameter:
             project: 'integration/test'
+        - integration-patch-refspec:
+            branch: '$GERRIT_REFSPEC'
 
     scm:
         - integration-gerrit-scm:
             credentials-id: '{ssh-credentials}'
             basedir: 'test'
-            refspec: '$GERRIT_REFSPEC'
+            refspec: '$PATCHREFSPEC'
             branch: 'master'
 
     wrappers: