Changeset 72e2ea0
- Timestamp:
- Aug 10, 2016, 5:34:25 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, 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:
- 27fefeb6, 7bb37fc
- Parents:
- e394618 (diff), 5ae36ed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/FullBuild
re394618 r72e2ea0 99 99 //attach the build log to the email 100 100 catch (Exception caughtError) { 101 echo('error caught') 102 101 103 //rethrow error later 102 104 err = caughtError 103 105 104 106 //Store the result of the build log 105 currentBuild.result = "${status_prefix} FAILURE".trim()107 currentBuild.result = 'FAILURE' 106 108 107 109 //Send email to notify the failure 108 promote_ email(currentBuild.result)110 promote_failure_email() 109 111 } 110 112 … … 121 123 122 124 //Email notification on a full build failure 123 def promote_email(String status) { 125 def promote_failure_email() { 126 echo('notifying users') 127 124 128 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line 125 129 //Configurations for email format … … 134 138 - Status -------------------------------------------------------------- 135 139 136 PROMOTE FAILURE - ${status}140 PROMOTE FAILURE 137 141 """ 138 142
Note: See TracChangeset
for help on using the changeset viewer.