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