summaryrefslogtreecommitdiff
path: root/Jenkinsfile
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:03:35 +0100
commit158fb72b1bb5e421d32f77bf8143e951d12180c5 (patch)
treea09ae4a827a78ccd8c1ab00ad3e8fb1cc00d8aaf /Jenkinsfile
parent1667f80fa8629bf55beda4e96d1a29282dc55ac9 (diff)
downloadvyos-build-158fb72b1bb5e421d32f77bf8143e951d12180c5.tar.gz
vyos-build-158fb72b1bb5e421d32f77bf8143e951d12180c5.zip
Jenkins: always archive artifacts
Diffstat (limited to 'Jenkinsfile')
-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