send email on master node

Former-commit-id: 7eaec56894b5dbab27bc7971aace3d5dfc0687c5
pull/191/head
quicksilver 2019-07-10 17:43:08 +08:00 committed by jinhai
parent 618705f617
commit 5e023cd47b
1 changed files with 4 additions and 2 deletions

View File

@ -234,10 +234,12 @@ spec:
post {
always {
script {
node('master') {
def notify = load "${env.WORKSPACE}/ci/jenkinsfile/notify.groovy"
notify.notify()
}
}
}
success {
script {
updateGitlabCommitStatus name: 'CI/CD', state: 'success'