<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>origin</name>
- <refspec>$GERRIT_REFSPEC</refspec>
+ <refspec/>
<url>$GIT_URL/$PROJECT</url>
<credentialsId>test-credential</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
branch: '$GERRIT_BRANCH'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
git-url: '{git-url}'
- refspec: '$GERRIT_REFSPEC'
+ refspec: '' # Leave blank!! A later script will handle fetching
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default