From d146833969214454988bd837e8aa859b1561927c Mon Sep 17 00:00:00 2001 From: Nick DaCosta Date: Fri, 20 Dec 2024 08:57:47 -0500 Subject: [PATCH] Fixed build number reference for release --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 524edd1d8..c4abf6c62 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -139,7 +139,7 @@ pipeline { } else if (BRANCH_NAME && BRANCH_NAME == 'master') { node("linux-amd64") { dir("/tmp/mscl_${env.BRANCH_NAME}_${currentBuild.number}") { - copyArtifacts(projectName: "${env.JOB_NAME}", selector: specific("12")); + copyArtifacts(projectName: "${env.JOB_NAME}", selector: specific("${currentBuild.number}")); withCredentials([string(credentialsId: 'Github_Token', variable: 'GH_TOKEN')]) { sh ''' # Release to github. The release script will determine if master needs to be published