Explorar o código

Get artifacts on build fail

Jamie Curnow %!s(int64=5) %!d(string=hai) anos
pai
achega
8fb2821343
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Jenkinsfile

+ 1 - 0
Jenkinsfile

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