add status color
Some checks failed
dreamfall/pnut-bridge/pipeline/head There was a failure building this commit

This commit is contained in:
Morgan McMillian 2022-11-27 17:51:31 -08:00
parent 53b45ba214
commit db7bf3b8f2

4
Jenkinsfile vendored
View file

@ -17,11 +17,11 @@ pipeline {
}
post {
success {
mattermostSend "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'
}
failure {
mattermostSend "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>)"
}
}
}