send email on master node

Former-commit-id: 07518d892cb27efe82ac4d181594a31a67795e79
This commit is contained in:
quicksilver 2019-07-10 17:43:08 +08:00
parent 72ffedebd7
commit b4abf92d54

View File

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