Changes in / [ecb4955:dd40c54]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
recb4955 rdd40c54 36 36 37 37 def push_build() { 38 build_stage 'Push' 38 //Don't use the build_stage function which outputs the compiler 39 stage 'Push' 40 41 status_prefix = 'Push' 39 42 40 43 def out_dir = pwd tmp: true … … 167 170 finally { 168 171 //Send email with final results 169 notify_result(doPromoteBuild2DoLang, err != null, currentBuild.result, log_needed)172 notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed) 170 173 171 174 /* Must re-throw exception to propagate error */ … … 179 182 //Routine responsible of sending the email notification once the build is completed 180 183 //=========================================================================================================== 181 def notify_result(boolean promote, boolean success, String status, boolean log) {184 def notify_result(boolean promote, Exception err, String status, boolean log) { 182 185 if(promote) { 183 if( !success) {186 if( err ) { 184 187 promote_email(status) 185 188 }
Note: See TracChangeset
for help on using the changeset viewer.