Explorar el Código

Get artifacts on build fail

Jamie Curnow hace 5 años
padre
commit
8fb2821343
Se han modificado 1 ficheros con 1 adiciones y 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"'
 		}