add status color
Some checks failed
dreamfall/pnut-bridge/pipeline/head There was a failure building this commit
Some checks failed
dreamfall/pnut-bridge/pipeline/head There was a failure building this commit
This commit is contained in:
parent
53b45ba214
commit
db7bf3b8f2
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -17,11 +17,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
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'
|
archiveArtifacts artifacts: 'pnut-bridge'
|
||||||
}
|
}
|
||||||
failure {
|
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>)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue