Changeset 1a66280 for Jenkinsfile
- Timestamp:
- Jun 9, 2016, 11:07:44 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- dd40c54
- Parents:
- b8f8696
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rb8f8696 r1a66280 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.