Changeset 1a66280


Ignore:
Timestamp:
Jun 9, 2016, 11:07:44 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
dd40c54
Parents:
b8f8696
Message:

Jenkinsfile : no pass exception instead of boolean to notify routine, push state no longer called 'gcc-6 push'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rb8f8696 r1a66280  
    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.