Changes in / [ecb4955:dd40c54]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

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