diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-23 08:50:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-26 10:32:44 +0200 |
commit | a9c5df1f42b59b3c0b61474d74ceeed7e65c9df2 (patch) | |
tree | f2519a55073809c2fbddd86dd8a8da38e9694ed8 /Jenkinsfile | |
parent | 2ffff339c5515280a1926d2ee134d5d2c7cdbcfc (diff) | |
download | vyos-build-a9c5df1f42b59b3c0b61474d74ceeed7e65c9df2.tar.gz vyos-build-a9c5df1f42b59b3c0b61474d74ceeed7e65c9df2.zip |
Jenkins: archive ISO and build.log artifacts
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 169a52f3..90c38d1c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -157,9 +157,6 @@ pipeline { # Configure the ISO ./configure --build-by="autobuild@vyos.net" --debian-mirror="http://ftp.us.debian.org/debian/" - # Debug to see which Debian packages we have so far - ls -al packages/*.deb - # Finally build our ISO sudo make iso ''' @@ -168,6 +165,12 @@ pipeline { } post { + always { + archiveArtifacts artifacts: 'build/build.log', fingerprint: true + } + success { + archiveArtifacts artifacts: 'build/vyos*.iso', fingerprint: true + } cleanup { echo 'One way or another, I have finished' // the 'build' directory got elevated permissions during the build |