Skip to content

Commit 99fdf57

Browse files
committed
put refspec back
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent f110446 commit 99fdf57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

jenkins/pipelines/tracecompass-test.Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ pipeline {
4646
sh 'cp scripts/deploy-update-site.sh ${MAVEN_WORKSPACE_SCRIPTS}'
4747
sh 'cp scripts/deploy-doc.sh ${MAVEN_WORKSPACE_SCRIPTS}'
4848
sh 'cp scripts/deploy-javadoc.sh ${MAVEN_WORKSPACE_SCRIPTS}'
49-
println "gerrit branch name: $GERRIT_BRANCH_NAME, ${params.GERRIT_BRANCH_NAME}, ${GERRIT_BRANCH_NAME}"
49+
println "gerrit branch name: $GERRIT_BRANCH_NAME, ${params.GERRIT_BRANCH_NAME}, ${GERRIT_BRANCH_NAME}, refspec: $GERRIT_REFSPEC"
5050
checkout([
5151
$class: 'GitSCM',
5252
branches: [[name: '$GERRIT_BRANCH_NAME']],
5353
doGenerateSubmoduleConfigurations: false,
5454
extensions: [[$class: 'CleanCheckout']],
5555
submoduleCfg: [],
56-
userRemoteConfigs: [[credentialsId: 'github-bot', url: '$GERRIT_REPOSITORY_URL']]
56+
userRemoteConfigs: [[credentialsId: 'github-bot', refspec: '$GERRIT_REFSPEC', url: '$GERRIT_REPOSITORY_URL']]
5757
])
5858
sh 'mkdir -p ${WORKSPACE_SCRIPTS}'
5959
sh 'cp ${MAVEN_WORKSPACE_SCRIPTS}/deploy-rcp.sh ${WORKSPACE_SCRIPTS}'

0 commit comments

Comments
 (0)