fix
Some checks failed
s444452-evaluation/pipeline/head There was a failure building this commit
s444452-training/pipeline/head There was a failure building this commit

This commit is contained in:
AdamOsiowy123 2022-05-04 20:59:01 +02:00
parent db3e08c875
commit f9d3d0fc36

View File

@ -39,10 +39,10 @@ def notifyBuild(String buildStatus = 'STARTED') {
def subject = "Job: ${env.JOB_NAME}" 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 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') { 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 ( emailext (