Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r3bc59b7 rabc2a643  
    5454        //attach the build log to the email
    5555        catch (Exception caughtError) {
    56                 //rethrow error later
     56                // Store the result of the build log
     57                currentBuild.result = "FAILURE"
     58
     59                // An error has occured, the build log is relevent
     60                log_needed = true
     61
     62                // rethrow error later
    5763                err = caughtError
    5864
     65                // print the error so it shows in the log
    5966                echo err.toString()
    60 
    61                 //An error has occured, the build log is relevent
    62                 log_needed = true
    63 
    64                 //Store the result of the build log
    65                 currentBuild.result = "${tools.StageName} FAILURE".trim()
    6667        }
    6768
Note: See TracChangeset for help on using the changeset viewer.