Changes in Jenkinsfile [3bc59b7:9dd31e7]
- File:
-
- 1 edited
-
Jenkinsfile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r3bc59b7 r9dd31e7 54 54 //attach the build log to the email 55 55 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 57 63 err = caughtError 58 64 65 // print the error so it shows in the log 59 66 echo err.toString() 60 61 //An error has occured, the build log is relevent62 log_needed = true63 64 //Store the result of the build log65 currentBuild.result = "${tools.StageName} FAILURE".trim()66 67 } 67 68
Note:
See TracChangeset
for help on using the changeset viewer.