summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index ce9ec8cb..0d91ffdb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -143,6 +143,10 @@ pipeline {
}
}
post {
+ always {
+ archiveArtifacts artifacts: '**/build/vyos-*.iso, **/build/vyos-*.qcow2',
+ allowEmptyArchive: true
+ }
success {
script {
// only deploy ISO if build from official repository
@@ -191,10 +195,6 @@ pipeline {
}
}
}
- failure {
- archiveArtifacts artifacts: '**/build/vyos-*.iso, **/build/vyos-*.qcow2',
- allowEmptyArchive: true
- }
cleanup {
echo 'One way or another, I have finished'
// the 'build' directory got elevated permissions during the build