From 8fb2821343888d2f036d07f72e5b26efabe90067 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Fri, 6 Mar 2020 12:54:05 +1000 Subject: [PATCH] Get artifacts on build fail --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 322f22f7..d8921cd1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -149,6 +149,7 @@ pipeline { sh 'figlet "SUCCESS"' } failure { + archiveArtifacts(artifacts: 'debug/**.*', allowEmptyArchive: true) juxtapose event: 'failure' sh 'figlet "FAILURE"' }