This repository was archived by the owner on Aug 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ pipeline {
3636 echo "PATH = ${PATH}"
3737 echo "M2_HOME = ${M2_HOME}"
3838 '''
39+
40+ emailext (
41+ subject : " STARTED : UG Build Job '${ env.JOB_NAME} [${ env.BUILD_NUMBER} ]'" ,
42+ body : """ UG Build Job '${ env.JOB_NAME} [${ env.BUILD_NUMBER} ]' has been kicked off \n Check output at '${ env.BUILD_URL} '""" ,
43+ recipientProviders : [[$class : ' RequesterRecipientProvider' ], [$class : ' DevelopersRecipientProvider' ]]
44+ )
3945 }
4046 }
4147
@@ -75,6 +81,7 @@ pipeline {
7581 '''
7682 }
7783 }
84+
7885 }
7986
8087 post {
@@ -87,9 +94,19 @@ pipeline {
8794 }
8895 success {
8996 echo ' Usergrid build and tests succeeded'
97+ emailext (
98+ subject : " SUCCESS : UG Build Job '${ env.JOB_NAME} [${ env.BUILD_NUMBER} ]'" ,
99+ body : """ UG Build Job '${ env.JOB_NAME} [${ env.BUILD_NUMBER} ]' has completed SUCCESSFULLY \n Check output at '${ env.BUILD_URL} '""" ,
100+ recipientProviders : [[$class : ' RequesterRecipientProvider' ], [$class : ' DevelopersRecipientProvider' ]]
101+ )
90102 }
91103 failure {
92104 echo ' Usergrid build and/or tests failed'
105+ emailext (
106+ subject : " FAILURE : UG Build Job '${ env.JOB_NAME} [${ env.BUILD_NUMBER} ]'" ,
107+ body : """ UG Build Job '${ env.JOB_NAME} [${ env.BUILD_NUMBER} ]' has FAILED \n Check output at '${ env.BUILD_URL} '""" ,
108+ recipientProviders : [[$class : ' CulpritsRecipientProvider' ], [$class : ' RequesterRecipientProvider' ], [$class : ' DevelopersRecipientProvider' ]]
109+ )
93110 }
94111
95112 }
You can’t perform that action at this time.
0 commit comments