Changeset 27fefeb6 for Jenkins


Ignore:
Timestamp:
Aug 10, 2016, 11:31:24 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, 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:
82da9b8
Parents:
321f55d (diff), 72e2ea0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r321f55d r27fefeb6  
    9999        //attach the build log to the email
    100100        catch (Exception caughtError) {
     101                echo('error caught')
     102
    101103                //rethrow error later
    102104                err = caughtError
    103105
    104106                //Store the result of the build log
    105                 currentBuild.result = "${status_prefix} FAILURE".trim()
     107                currentBuild.result = 'FAILURE'
    106108
    107109                //Send email to notify the failure
    108                 promote_email(currentBuild.result)
     110                promote_failure_email()
    109111        }
    110112
     
    121123
    122124//Email notification on a full build failure
    123 def promote_email(String status) {
     125def promote_failure_email() {
     126        echo('notifying users')
     127
    124128        //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
    125129        //Configurations for email format
     
    134138- Status --------------------------------------------------------------
    135139
    136 PROMOTE FAILURE - ${status}
     140PROMOTE FAILURE
    137141"""
    138142
Note: See TracChangeset for help on using the changeset viewer.