summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-20 20:03:35 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-20 20:04:18 +0100
commit3e89ba046f49fe124938066b53ca5f712a470bf2 (patch)
treef59cdc661bb91707e936dbcc4a610e749ac44201
parenta8f279eb5abd2a10f3e452f151d35a0a72f549ac (diff)
downloadvyos-build-3e89ba046f49fe124938066b53ca5f712a470bf2.tar.gz
vyos-build-3e89ba046f49fe124938066b53ca5f712a470bf2.zip
Jenkins: always archive artifacts
(cherry picked from commit 158fb72b1bb5e421d32f77bf8143e951d12180c5)
-rw-r--r--Jenkinsfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index d4b505d8..55bea4d5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -125,6 +125,10 @@ pipeline {
}
}
post {
+ always {
+ archiveArtifacts artifacts: '**/build/vyos-*.iso, **/build/vyos-*.qcow2',
+ allowEmptyArchive: true
+ }
success {
script {
// only deploy ISO if build from official repository
@@ -173,10 +177,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