This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch ebarboni-patch-3
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git

commit 872e2a7c3f440f4603680257e5c8f5e5e106c696
Author: Eric Barboni <[email protected]>
AuthorDate: Tue Sep 10 11:28:55 2024 +0200

    add unstable post block for slack notification
---
 vars/asfMainNetBeansBuild.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index de38808..0d19db5 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -265,6 +265,9 @@ def call(Map params = [:]) {
             success {
                 slackSend (channel:'#netbeans-builds', message:"SUCCESS: Job 
'${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}) ",color:'#00FF00')
             }
+            unstable {
+                slackSend (channel:'#netbeans-builds', message:"UNSTABLE: Job 
'${env.JOB_NAME} [${env.BUILD_NUMBER}]'  (${env.BUILD_URL})",color:'#FF8000')
+            }
             failure {
                 slackSend (channel:'#netbeans-builds', message:"FAILED: Job 
'${env.JOB_NAME} [${env.BUILD_NUMBER}]'  (${env.BUILD_URL})",color:'#FF0000')
             }


---------------------------------------------------------------------
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

Reply via email to