Changeset ed091cd


Ignore:
Timestamp:
May 30, 2016, 10:44:12 AM (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:
1e34653
Parents:
e8a22a7
Message:

email notification seems to work properly for jenkins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    re8a22a7 red091cd  
    1616                sh 'make maintainer-clean > /dev/null'
    1717                sh 'CC=gcc-4.9 CXX=g++-4.9 ./configure > /dev/null'
    18                 sh 'dfsdfs make -j 8'
     18                sh 'make -j 8'
    1919                email("SUCCESS")
    2020        } catch (Exception e) {
    21                 email("SUCCESS")
     21                email("FAILURE")
    2222                throw e;
    2323        }
     
    3030
    3131        def email_subject = "[${project_name} git] - branch ${env.BRANCH_NAME} - Build # ${env.BUILD_NUMBER} - ${status}!"
    32         def email_body = """This is an automated email from the Jenkins build machine. It was
     32        def email_body = """    This is an automated email from the Jenkins build machine. It was
    3333        generated because of a git hooks/post-receive script following
    3434        a ref change was pushed to the repository containing
    3535        the project "UNNAMED PROJECT".
    3636
    37         The branch ${env.BRANCH_NAME} has been updated
    38                via  GIT_COMMIT (commit)
    39               from  GIT_PREVIOUS_COMMIT (commit)
     37        The branch ${env.BRANCH_NAME} has been updated.
    4038
    4139        Those revisions listed above that are new to this repository have
Note: See TracChangeset for help on using the changeset viewer.