summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-04 20:13:46 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-04 20:13:47 +0200
commit707ff78dac5da9359386e60330964cefb2013642 (patch)
treee5853990dff19c58b47bce706e3683901df411aa
parent3c20141faaba1078bd5f16419df900637c1fd15b (diff)
downloadvyos-build-707ff78dac5da9359386e60330964cefb2013642.tar.gz
vyos-build-707ff78dac5da9359386e60330964cefb2013642.zip
Jenkins: select "release" build
... instead of developer build which pulls in additional packages bloating the ISO image.
-rw-r--r--Jenkinsfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 7d9c72fc..50e99de2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -170,8 +170,14 @@ pipeline {
def commitId = sh(returnStdout: true, script: 'git rev-parse --short=11 HEAD').trim()
currentBuild.description = sprintf('Git SHA1: %s', commitId[-11..-1])
- sh './configure --build-by autobuild@vyos.net --debian-mirror http://ftp.us.debian.org/debian/'
- sh 'sudo make iso'
+ sh """
+ ./configure \
+ --build-by autobuild@vyos.net \
+ --debian-mirror http://ftp.us.debian.org/debian/ \
+ --build-type release \
+ --version 1.3-rolling-$(date +%Y%m%d%H%M)
+ sudo make iso
+ """
}
}
}