Changeset 121f499


Ignore:
Timestamp:
Jul 15, 2016, 7:12:12 PM (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, 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:
a2f86e9
Parents:
ad5b73e
Message:

fixed stupid typo in jenkins full build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    rad5b73e r121f499  
    2828// Main loop of the compilation
    2929//===========================================================================================================
     30
    3031node ('master') {
    3132        try {
     
    7172
    7273                                                if (result.result != 'SUCCESS') {
    73                                                         echo( 'Build Succeded' )
     74                                                        echo( 'Build Succede' )
    7475                                                }
    7576                                        }
     
    8081                }
    8182        }
    82 }
    83 //If an exception is caught we need to change the status and remember to
    84 //attach the build log to the email
    85 catch (Exception caughtError) {
    86         //rethrow error later
    87         err = caughtError
    8883
    89         //Store the result of the build log
    90         currentBuild.result = "${status_prefix} FAILURE".trim()
     84        //If an exception is caught we need to change the status and remember to
     85        //attach the build log to the email
     86        catch (Exception caughtError) {
     87                //rethrow error later
     88                err = caughtError
    9189
    92         //Send email to notify the failure
    93         promote_email(currentBuild.result)
    94 }
     90                //Store the result of the build log
     91                currentBuild.result = "${status_prefix} FAILURE".trim()
    9592
    96 finally {
    97         //Must re-throw exception to propagate error
    98         if (err) {
    99                 throw err
     93                //Send email to notify the failure
     94                promote_email(currentBuild.result)
     95        }
     96
     97        finally {
     98                //Must re-throw exception to propagate error
     99                if (err) {
     100                        throw err
     101                }
    100102        }
    101103}
    102 
    103104//===========================================================================================================
    104105//Routine responsible of sending the email notification once the build is completed
Note: See TracChangeset for help on using the changeset viewer.