From f9d3d0fc36c03f010f17b5b41cccca51c0086f3f Mon Sep 17 00:00:00 2001 From: AdamOsiowy123 Date: Wed, 4 May 2022 20:59:01 +0200 Subject: [PATCH] fix --- Jenkins/Jenkinsfile.training | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkins/Jenkinsfile.training b/Jenkins/Jenkinsfile.training index bf2fcc8..e2cc923 100644 --- a/Jenkins/Jenkinsfile.training +++ b/Jenkins/Jenkinsfile.training @@ -39,10 +39,10 @@ def notifyBuild(String buildStatus = 'STARTED') { def subject = "Job: ${env.JOB_NAME}" def details = "Build nr: ${env.BUILD_NUMBER}, status: ${buildStatus} \n url: ${env.BUILD_URL} \n build params: ${params.TRAIN_PARAMS}" - def branch_name = "${env.BRANCH_NAME}" + def branch_name = "s444452-evaluation/${env.BRANCH_NAME}" if (buildStatus == 'SUCCESS') { - build job: 's444452-evaluation/${branch_name}', parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"), string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")], wait: false + build job: '${branch_name}', parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"), string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")], wait: false } emailext (