|
@@ -213,7 +213,9 @@ pipeline {
|
|
|
body: "<b>ATTENTION!!!</b> <b><br> Jenkins job aborted.\n\n <b><br> The CNAME ${key_name} is already exists!\n\n <b><br>Project Name:</b> ${env.JOB_NAME} <b><br>\nBuild Number:</b> ${env.BUILD_NUMBER} <b><br>\nURL Build:</b> ${RUN_DISPLAY_URL}"
|
|
|
}
|
|
|
success{
|
|
|
- sh "wget http://dev-jenkins.sdsys.ru:8080/job/iru-bind/build?token=iru-bind -O -"
|
|
|
+ withCredentials([usernamePassword(credentialsId: 'admin', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
|
|
+ sh "wget http://${USERNAME}:${PASSWORD}@dev-jenkins.sdsys.ru:8080/job/iru-bind/build?token=iru-bind -O -"
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|