diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-20 20:03:35 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-01-20 20:04:18 +0100 |
commit | 3e89ba046f49fe124938066b53ca5f712a470bf2 (patch) | |
tree | f59cdc661bb91707e936dbcc4a610e749ac44201 | |
parent | a8f279eb5abd2a10f3e452f151d35a0a72f549ac (diff) | |
download | vyos-build-3e89ba046f49fe124938066b53ca5f712a470bf2.tar.gz vyos-build-3e89ba046f49fe124938066b53ca5f712a470bf2.zip |
Jenkins: always archive artifacts
(cherry picked from commit 158fb72b1bb5e421d32f77bf8143e951d12180c5)
-rw-r--r-- | Jenkinsfile | 8 |
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 |