Get artifacts on build fail
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -149,6 +149,7 @@ pipeline {
|
|||||||
sh 'figlet "SUCCESS"'
|
sh 'figlet "SUCCESS"'
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
|
archiveArtifacts(artifacts: 'debug/**.*', allowEmptyArchive: true)
|
||||||
juxtapose event: 'failure'
|
juxtapose event: 'failure'
|
||||||
sh 'figlet "FAILURE"'
|
sh 'figlet "FAILURE"'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user