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>
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: