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:03:35 +0100 |
commit | 158fb72b1bb5e421d32f77bf8143e951d12180c5 (patch) | |
tree | a09ae4a827a78ccd8c1ab00ad3e8fb1cc00d8aaf /Jenkinsfile | |
parent | 1667f80fa8629bf55beda4e96d1a29282dc55ac9 (diff) | |
download | vyos-build-158fb72b1bb5e421d32f77bf8143e951d12180c5.tar.gz vyos-build-158fb72b1bb5e421d32f77bf8143e951d12180c5.zip |
Jenkins: always archive artifacts
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 8 |
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 |