Changes in Jenkinsfile [abc2a643:3bc59b7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rabc2a643 r3bc59b7 54 54 //attach the build log to the email 55 55 catch (Exception caughtError) { 56 // Store the result of the build log 57 currentBuild.result = "FAILURE" 58 59 // An error has occured, the build log is relevent 56 //rethrow error later 57 err = caughtError 58 59 echo err.toString() 60 61 //An error has occured, the build log is relevent 60 62 log_needed = true 61 63 62 // rethrow error later 63 err = caughtError 64 65 // print the error so it shows in the log 66 echo err.toString() 64 //Store the result of the build log 65 currentBuild.result = "${tools.StageName} FAILURE".trim() 67 66 } 68 67
Note: See TracChangeset
for help on using the changeset viewer.