Changeset 04cdd9b for Jenkins/FullBuild
- Timestamp:
- Aug 19, 2016, 2:42:04 PM (9 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, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- e85a8631
- Parents:
- 03da511 (diff), ac71a86 (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
r03da511 r04cdd9b 14 14 name: 'buildArchitecture', \ 15 15 value: arch] \ 16 ] 16 ], \ 17 propagate: false 17 18 18 19 echo(result.result) 19 echo(result.absoluteUrl) 20 21 if(result.result != 'SUCCESS') { 22 sh("wget -q -O - ${result.absoluteUrl}/consoleText") 23 error(result.result) 24 } 20 25 } 21 26 … … 99 104 //attach the build log to the email 100 105 catch (Exception caughtError) { 106 echo('error caught') 107 101 108 //rethrow error later 102 109 err = caughtError 103 110 104 111 //Store the result of the build log 105 currentBuild.result = "${status_prefix} FAILURE".trim()112 currentBuild.result = 'FAILURE' 106 113 107 114 //Send email to notify the failure 108 promote_ email(currentBuild.result)115 promote_failure_email() 109 116 } 110 117 … … 121 128 122 129 //Email notification on a full build failure 123 def promote_email(String status) { 130 def promote_failure_email() { 131 echo('notifying users') 132 124 133 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line 125 134 //Configurations for email format … … 134 143 - Status -------------------------------------------------------------- 135 144 136 PROMOTE FAILURE - ${status}145 PROMOTE FAILURE 137 146 """ 138 147
Note:
See TracChangeset
for help on using the changeset viewer.