Changeset 094a42c
- Timestamp:
- Jul 31, 2018, 11:41:03 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- bdc154b
- Parents:
- 0eb13567
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r0eb13567 r094a42c 70 70 finally { 71 71 //Send email with final results if this is not a full build 72 if( do_sendemail && !bIsSandbox) {72 if( do_sendemail ) { 73 73 echo 'Notifying users of result' 74 email(currentBuild.result, log_needed )74 email(currentBuild.result, log_needed, bIsSandbox) 75 75 } 76 76 … … 339 339 //=========================================================================================================== 340 340 //Standard build email notification 341 def email(String status, boolean log ) {341 def email(String status, boolean log, boolean bIsSandbox) { 342 342 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line 343 343 //Configurations for email format … … 382 382 def email_to = "cforall@lists.uwaterloo.ca" 383 383 384 //send email notification 385 emailext body: email_body, subject: email_subject, to: email_to, attachLog: log 386 } 384 if( !bIsSandbox ) { 385 //send email notification 386 emailext body: email_body, subject: email_subject, to: email_to, attachLog: log 387 } else { 388 echo "Would send email to: ${email_to}" 389 echo "With title: ${email_subject}" 390 echo "Content: \n${email_body}" 391 } 392 }
Note: See TracChangeset
for help on using the changeset viewer.