fix
This commit is contained in:
parent
67ad1d6012
commit
50c85a11ba
@ -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 (
|
||||||
|
Loading…
Reference in New Issue
Block a user