From a9c5df1f42b59b3c0b61474d74ceeed7e65c9df2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 23 Apr 2019 08:50:00 +0200 Subject: Jenkins: archive ISO and build.log artifacts --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Jenkinsfile') 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 -- cgit v1.2.3