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

This commit is contained in:
AdamOsiowy123 2022-05-04 21:14:50 +02:00
parent 67ad1d6012
commit 50c85a11ba

View File

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