Skip to content

Commit

Permalink
ci: suppress release stage notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Jun 16, 2022
1 parent 155a8d9 commit e702317
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ pipeline {
}
}
}
post {
failure {
notifyStatus(slackStatus: 'danger', subject: "[${env.REPO}] Release *${env.TAG_NAME}* failed", body: "Build: (<${env.RUN_DISPLAY_URL}|here>)")
}
success {
notifyStatus(slackStatus: 'good', subject: "[${env.REPO}] Release *${env.TAG_NAME}* published", body: "Build: (<${env.RUN_DISPLAY_URL}|here>)\nRepo URL: ${env.REPO_URL?.trim()}")
}
}
// post {
// failure {
// notifyStatus(slackStatus: 'danger', subject: "[${env.REPO}] Release *${env.TAG_NAME}* failed", body: "Build: (<${env.RUN_DISPLAY_URL}|here>)")
// }
// success {
// notifyStatus(slackStatus: 'good', subject: "[${env.REPO}] Release *${env.TAG_NAME}* published", body: "Build: (<${env.RUN_DISPLAY_URL}|here>)\nRepo URL: ${env.REPO_URL?.trim()}")
// }
// }
}
}
post {
Expand Down

0 comments on commit e702317

Please sign in to comment.