Changes in / [dd40c54:ecb4955]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rdd40c54 recb4955  
    3636
    3737def push_build() {
    38         //Don't use the build_stage function which outputs the compiler
    39         stage 'Push'
    40 
    41                 status_prefix = 'Push'
     38        build_stage 'Push'
    4239
    4340                def out_dir = pwd tmp: true
     
    170167        finally {
    171168                //Send email with final results
    172                 notify_result(doPromoteBuild2DoLang, err, currentBuild.result, log_needed)
     169                notify_result(doPromoteBuild2DoLang, err != null, currentBuild.result, log_needed)
    173170
    174171                /* Must re-throw exception to propagate error */
     
    182179//Routine responsible of sending the email notification once the build is completed
    183180//===========================================================================================================
    184 def notify_result(boolean promote, Exception err, String status, boolean log) {
     181def notify_result(boolean promote, boolean success, String status, boolean log) {
    185182        if(promote)     {
    186                 if( err ) {
     183                if( !success ) {
    187184                        promote_email(status)
    188185                }
Note: See TracChangeset for help on using the changeset viewer.