Get artifacts on build fail

This commit is contained in:
Jamie Curnow 2020-03-06 12:54:05 +10:00
parent 569d2b0dce
commit 8fb2821343

1
Jenkinsfile vendored
View File

@ -149,6 +149,7 @@ pipeline {
sh 'figlet "SUCCESS"'
}
failure {
archiveArtifacts(artifacts: 'debug/**.*', allowEmptyArchive: true)
juxtapose event: 'failure'
sh 'figlet "FAILURE"'
}