Changeset 72e2ea0


Ignore:
Timestamp:
Aug 10, 2016, 5:34:25 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, 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, resolv-new, with_gc
Children:
27fefeb6, 7bb37fc
Parents:
e394618 (diff), 5ae36ed (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 plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    re394618 r72e2ea0  
    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.