This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch ebarboni-patch-5 in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git
commit 0da768525c630ffe1ba1c39f4b07d252655ce814 Author: Eric Barboni <[email protected]> AuthorDate: Wed Oct 16 13:54:09 2024 +0200 add unstable catch + use predefined color --- vars/asfMainNetBeansBuild.groovy | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy index de38808..b273f4d 100644 --- a/vars/asfMainNetBeansBuild.groovy +++ b/vars/asfMainNetBeansBuild.groovy @@ -263,10 +263,13 @@ def call(Map params = [:]) { cleanWs() } success { - slackSend (channel:'#netbeans-builds', message:"SUCCESS: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}) ",color:'#00FF00') + slackSend (channel:'#netbeans-builds', message:"SUCCESS: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}) ",color:'good') + } + unstable { + slackSend (channel:'#netbeans-builds', message:"UNSTABLE: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}) ",color:'warning') } failure { - slackSend (channel:'#netbeans-builds', message:"FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})",color:'#FF0000') + slackSend (channel:'#netbeans-builds', message:"FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})",color:'danger') } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
