Changeset 04cdd9b for Jenkins/FullBuild


Ignore:
Timestamp:
Aug 19, 2016, 2:42:04 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
e85a8631
Parents:
03da511 (diff), ac71a86 (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' into ctor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r03da511 r04cdd9b  
    1414                          name: 'buildArchitecture',                    \
    1515                          value: arch]                                  \
    16                 ]
     16                ],                                                              \
     17                propagate: false
    1718
    1819        echo(result.result)
    19         echo(result.absoluteUrl)
     20
     21        if(result.result != 'SUCCESS') {
     22                sh("wget -q -O - ${result.absoluteUrl}/consoleText")
     23                error(result.result)
     24        }
    2025}
    2126
     
    99104        //attach the build log to the email
    100105        catch (Exception caughtError) {
     106                echo('error caught')
     107
    101108                //rethrow error later
    102109                err = caughtError
    103110
    104111                //Store the result of the build log
    105                 currentBuild.result = "${status_prefix} FAILURE".trim()
     112                currentBuild.result = 'FAILURE'
    106113
    107114                //Send email to notify the failure
    108                 promote_email(currentBuild.result)
     115                promote_failure_email()
    109116        }
    110117
     
    121128
    122129//Email notification on a full build failure
    123 def promote_email(String status) {
     130def promote_failure_email() {
     131        echo('notifying users')
     132
    124133        //Since tokenizer doesn't work, figure stuff out from the environnement variables and command line
    125134        //Configurations for email format
     
    134143- Status --------------------------------------------------------------
    135144
    136 PROMOTE FAILURE - ${status}
     145PROMOTE FAILURE
    137146"""
    138147
Note: See TracChangeset for help on using the changeset viewer.