Changeset 1e34653
- Timestamp:
- May 30, 2016, 11:02:34 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:
- 19ad15b
- Parents:
- ed091cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
red091cd r1e34653 5 5 node { 6 6 checkout scm 7 sh 'git clean - f'7 sh 'git clean -dfq' 8 8 } 9 9 … … 13 13 //configure the conpilation 14 14 try { 15 sh 'git clean -dfq'16 15 sh 'make maintainer-clean > /dev/null' 17 16 sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure > /dev/null' 18 17 sh 'make -j 8' 19 email("SUCCESS" )18 email("SUCCESS", false) 20 19 } catch (Exception e) { 21 email("FAILURE" )20 email("FAILURE", true) 22 21 throw e; 23 22 } 24 23 } 25 24 26 def email(String status ) {25 def email(String status, Bool log) { 27 26 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line 28 27 //Configurations for email format … … 37 36 The branch ${env.BRANCH_NAME} has been updated. 38 37 39 Those revisions listed above that are new to this repository have40 not appeared on any other notification email; so we list those41 revisions in full, below.42 43 38 Check console output at ${env.BUILD_URL} to view the results.""" 44 39 … … 46 41 47 42 //send email notification 48 emailext body: email_body, subject: email_subject, to: email_to, attachLog: true43 emailext body: email_body, subject: email_subject, to: email_to, attachLog: log 49 44 }
Note: See TracChangeset
for help on using the changeset viewer.