Changeset 5ae36ed for Jenkins


Ignore:
Timestamp:
Aug 10, 2016, 3:42:58 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
72e2ea0, d2f5469
Parents:
ef42e764
Message:

fixed error in error handling of jenkins full build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    ref42e764 r5ae36ed  
    105105
    106106                //Store the result of the build log
    107                 currentBuild.result = "${status_prefix} FAILURE".trim()
     107                currentBuild.result = 'FAILURE'
    108108
    109109                //Send email to notify the failure
    110                 promote_email(currentBuild.result)
     110                promote_failure_email()
    111111        }
    112112
     
    123123
    124124//Email notification on a full build failure
    125 def promote_email(String status) {
     125def promote_failure_email() {
    126126        echo('notifying users')
    127127
     
    138138- Status --------------------------------------------------------------
    139139
    140 PROMOTE FAILURE - ${status}
     140PROMOTE FAILURE
    141141"""
    142142
Note: See TracChangeset for help on using the changeset viewer.