diff --git a/.ci/jenkins/Jenkinsfile.setup-branch b/.ci/jenkins/Jenkinsfile.setup-branch index 942a2f30..75210370 100644 --- a/.ci/jenkins/Jenkinsfile.setup-branch +++ b/.ci/jenkins/Jenkinsfile.setup-branch @@ -43,8 +43,7 @@ pipeline { currentBuild.displayName = params.DISPLAY_NAME } - optaplannerBranch = getBuildBranch() == 'development' ? '9.x' : getBuildBranch() == '8.x' ? 'main' : getBuildBranch() - checkoutRepo(optaplannerRepo, optaplannerBranch) + checkoutRepo(optaplannerRepo, getBuildBranch()) checkoutRepo(getRepoName(), getBuildBranch()) } }