diff --git a/Jenkins/Jenkinsfile.training b/Jenkins/Jenkinsfile.training index 2b6c86a..04be3e0 100644 --- a/Jenkins/Jenkinsfile.training +++ b/Jenkins/Jenkinsfile.training @@ -41,7 +41,7 @@ def notifyBuild(String buildStatus = 'STARTED') { def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TRAIN_PARAMS}" if (buildStatus == 'SUCCESS') { - build job: "s444452-evaluation/${env.BRANCH}", parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"), string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")], wait: false + build job: "s444452-evaluation/${env.BRANCH_NAME}", parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"), string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")], wait: false } emailext (