Makes it so that validate-autorelease can clone itself via Gerrit patch.
Change-Id: I59b6da52bee0b714b7fd2c9908ea277264953dd5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
- git:
url: '$CLONE_URL'
credentials-id: 'opendaylight-jenkins-ssh'
- git:
url: '$CLONE_URL'
credentials-id: 'opendaylight-jenkins-ssh'
+ refspec: '$GERRIT_REFSPEC'
branches:
- 'origin/{branch}'
skip-tag: true
submodule:
recursive: true
timeout: 60
branches:
- 'origin/{branch}'
skip-tag: true
submodule:
recursive: true
timeout: 60
+ choosing-strategy: gerrit
wrappers:
- opendaylight-infra-wrappers:
wrappers:
- opendaylight-infra-wrappers: