[fix] fix Jenkinsfile checkout for overnight builds
@@ -25,9 +25,7 @@ pipeline {
stage('Checkout Current Branch') {
steps {
step([$class: 'WsCleanup'])
- checkout scm
- sh 'git checkout master'
- checkout([$class: 'GitSCM', branches: [[name: "${params.fullBuild_branchToBuild}"]], doGenerateSubmoduleConfigurations: false, extensions:[[$class: 'LocalBranch']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '9bca499b-bd08-4fb2-9762-12105b44890e', url: 'https://github.com/beehive-lab/TornadoVM-Internal.git']]])
+ checkout([$class: 'GitSCM', branches: [[name: params.fullBuild_branchToBuild]], doGenerateSubmoduleConfigurations: false, extensions:[[$class: 'LocalBranch']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '9bca499b-bd08-4fb2-9762-12105b44890e', url: 'https://github.com/beehive-lab/TornadoVM-Internal.git']]])
}
}
