Changeset 7aebc62
- Timestamp:
- May 27, 2016, 6:26:14 PM (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:
- c012238
- Parents:
- 23a14d86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r23a14d86 r7aebc62 1 1 2 //Configurations for email format3 def email_subject_template = '[$PROJECT_NAME git] - branch $GIT_BRANCH - Build # $BUILD_NUMBER - $BUILD_STATUS!'4 def email_body_template = '''This is an automated email from the Jenkins build machine. It was5 generated because of a git hooks/post-receive script following6 a ref change was pushed to the repository containing7 the project "UNNAMED PROJECT".8 2 9 The branch $GIT_BRANCH has been updated 10 via $GIT_COMMIT (commit) 11 from $GIT_PREVIOUS_COMMIT (commit) 12 13 Those revisions listed above that are new to this repository have 14 not appeared on any other notification email; so we list those 15 revisions in full, below. 16 17 Check console output at $BUILD_URL to view the results.''' 18 19 node ('master'){ 20 //clean the repo and checkout the source code 21 stage 'Stage Checkout' 3 //clean the repo and checkout the source code 4 stage 'Checkout' 5 node { 22 6 checkout scm 23 7 sh 'git clean -f' 8 } 24 9 10 11 stage 'Build' 12 node ('master'){ 25 13 //configure the conpilation 26 stage 'Stage Build'27 sh 'dfjgh'28 14 sh 'make maintainer-clean' 29 15 sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure' 30 16 sh 'make -j 8' 17 sh 'blarg' 18 } 31 19 32 33 stage 'Stage Notify' 34 20 stage 'Notify' 21 node { 35 22 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line 36 23 //Configurations for email format … … 57 44 //send email notification 58 45 emailext body: email_body, subject: email_subject, to: email_to, attachLog: true 59 46 }
Note: See TracChangeset
for help on using the changeset viewer.