disable mattermost notifications

This commit is contained in:
Morgan McMillian 2023-03-02 05:59:40 -08:00
parent 5a16489558
commit c24de015d7

10
Jenkinsfile vendored
View file

@ -12,17 +12,17 @@ pipeline {
stages { stages {
stage('build') { stage('build') {
steps { steps {
mattermostSend "Build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" // mattermostSend "Build started - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
sh 'go build' sh 'go build'
} }
post { post {
success { success {
mattermostSend color: "good", message: "Build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" // mattermostSend color: "good", message: "Build success - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
archiveArtifacts artifacts: 'pnut-bridge' archiveArtifacts artifacts: 'pnut-bridge'
} }
failure { // failure {
mattermostSend color: "danger", message: "Build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)" // mattermostSend color: "danger", message: "Build failure - ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
} // }
} }
} }
} }