Changeset a3f9946 for Jenkinsfile
- Timestamp:
- May 27, 2016, 5:50:58 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:
- 63fe9f1d
- Parents:
- 3410c12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r3410c12 ra3f9946 22 22 checkout scm 23 23 24 sh 'printenv' 24 //Configurations for email format 25 26 //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line 27 def project_name = (env.JOB_NAME =~ /(.+)\/.+/)[0][1] 28 29 def email_subject = "[${project_name} git] - branch ${env.BRANCH_NAME} - Build # ${env.BUILD_NUMBER} - BUILD_STATUS!" 30 def email_body = """This is an automated email from the Jenkins build machine. It was 31 generated because of a git hooks/post-receive script following 32 a ref change was pushed to the repository containing 33 the project "UNNAMED PROJECT". 34 35 The branch ${env.BRANCH_NAME} has been updated 36 via GIT_COMMIT (commit) 37 from GIT_PREVIOUS_COMMIT (commit) 38 39 Those revisions listed above that are new to this repository have 40 not appeared on any other notification email; so we list those 41 revisions in full, below. 42 43 Check console output at ${env.BUILD_URL} to view the results.""" 25 44 26 45 //configure the conpilation
Note: See TracChangeset
for help on using the changeset viewer.