Skip to content

Commit d146833

Browse files
committed
Fixed build number reference for release
1 parent 9ca352e commit d146833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ pipeline {
139139
} else if (BRANCH_NAME && BRANCH_NAME == 'master') {
140140
node("linux-amd64") {
141141
dir("/tmp/mscl_${env.BRANCH_NAME}_${currentBuild.number}") {
142-
copyArtifacts(projectName: "${env.JOB_NAME}", selector: specific("12"));
142+
copyArtifacts(projectName: "${env.JOB_NAME}", selector: specific("${currentBuild.number}"));
143143
withCredentials([string(credentialsId: 'Github_Token', variable: 'GH_TOKEN')]) {
144144
sh '''
145145
# Release to github. The release script will determine if master needs to be published

0 commit comments

Comments
 (0)