get rid of hipchat send (#1791)

wasn't needed, and hipchat is going away...
This commit is contained in:
Michael Neale 2018-08-15 19:26:04 +10:00 committed by Olivier Lamy
parent db24f4985f
commit b6ac4a368e
1 changed files with 0 additions and 22 deletions

22
Jenkinsfile vendored
View File

@ -83,7 +83,6 @@ node() {
stage('Cleanup') {
sh "${env.WORKSPACE}/acceptance-tests/runner/scripts/stop-selenium.sh"
sh "${env.WORKSPACE}/acceptance-tests/runner/scripts/stop-bitbucket-server.sh"
sendhipchat()
deleteDir()
}
}
@ -91,24 +90,3 @@ node() {
}
}
def sendhipchat() {
res = currentBuild.result
if(currentBuild.result == null) {
res = "SUCCESS"
}
message = "${env.JOB_NAME} #${env.BUILD_NUMBER}, status: ${res} (<a href='${env.RUN_DISPLAY_URL}'>Open</a>)"
color = null
if(currentBuild.result == "UNSTABLE") {
color = "YELLOW"
} else if(currentBuild.result == "SUCCESS" || currentBuild.result == null){
color = "GREEN"
} else if(currentBuild.result == "FAILURE") {
color = "RED"
} else if(currentBuild.result == "ABORTED") {
color = "GRAY"
}
if(color != null) {
hipchatSend message: message, color: color
}
}