Changeset c9d651d


Ignore:
Timestamp:
May 27, 2016, 4:43:46 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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:
c77aa5a
Parents:
725f36f
Message:

modified Jenkinsfile to send email after build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r725f36f rc9d651d  
     1
     2//Configurations for email format
     3def email_subject = '[$PROJECT_NAME git] - branch $GIT_BRANCH - Build # $BUILD_NUMBER - $BUILD_STATUS!'
     4def email_body = '''This is an automated email from the Jenkins build machine. It was
     5generated because of a git hooks/post-receive script following
     6a ref change was pushed to the repository containing
     7the project "UNNAMED PROJECT".
     8
     9The branch $GIT_BRANCH has been updated
     10       via  $GIT_COMMIT (commit)
     11      from  $GIT_PREVIOUS_COMMIT (commit)
     12
     13Those revisions listed above that are new to this repository have
     14not appeared on any other notification email; so we list those
     15revisions in full, below.
     16
     17Check console output at $BUILD_URL to view the results.'''
     18
    119node ('master'){
    220  stage 'Build'
     
    422  sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure'
    523  sh 'make -j 8'
     24  def email_body =
     25  emailext body: email_body, subject: email_subject, to: 'tdelisle@uwaterloo.ca'
    626 }
Note: See TracChangeset for help on using the changeset viewer.