Skip to content

Commit 8fb2821

Browse files
author
Jamie Curnow
committed
Get artifacts on build fail
1 parent 569d2b0 commit 8fb2821

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ pipeline {
149149
sh 'figlet "SUCCESS"'
150150
}
151151
failure {
152+
archiveArtifacts(artifacts: 'debug/**.*', allowEmptyArchive: true)
152153
juxtapose event: 'failure'
153154
sh 'figlet "FAILURE"'
154155
}

0 commit comments

Comments
 (0)