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

This commit is contained in:
AdamOsiowy123 2022-05-04 20:55:46 +02:00
parent c5565d64fd
commit db3e08c875

View File

@ -39,9 +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}"
if (buildStatus == 'SUCCESS') {
build job: 's444452-evaluation/master', parameters: [string(name: "TEST_PARAMS", value: "${params.TRAIN_PARAMS}"), string(name: "BUILD_NR", value: "${env.BUILD_NUMBER}")], wait: false
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
}
emailext (