Skip to content

Commit 3541a82

Browse files
committed
Fix Gerrit branch name
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent 16b7e1e commit 3541a82

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
@@ -48,11 +48,11 @@ pipeline {
4848
sh 'cp scripts/deploy-javadoc.sh ${MAVEN_WORKSPACE_SCRIPTS}'
4949
checkout([
5050
$class: 'GitSCM',
51-
branches: [[name: '$GERRIT_BRANCH_NAME']],
51+
branches: [[name: '*/$GERRIT_BRANCH_NAME']],
5252
doGenerateSubmoduleConfigurations: false,
5353
extensions: [[$class: 'CleanCheckout']],
5454
submoduleCfg: [],
55-
userRemoteConfigs: [[credentialsId: 'github-bot', refspec: '+refs/head/$GERRIT_BRANCH_NAME:refs/remotes/origin/$GERRIT_BRANCH_NAME', url: '$GERRIT_REPOSITORY_URL']]
55+
userRemoteConfigs: [[credentialsId: 'github-bot', refspec: '+refs/heads/$GERRIT_BRANCH_NAME:refs/remotes/origin/$GERRIT_BRANCH_NAME', url: '$GERRIT_REPOSITORY_URL']]
5656
])
5757
sh 'mkdir -p ${WORKSPACE_SCRIPTS}'
5858
sh 'cp ${MAVEN_WORKSPACE_SCRIPTS}/deploy-rcp.sh ${WORKSPACE_SCRIPTS}'

0 commit comments

Comments
 (0)