summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-04 20:16:34 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-04 20:16:34 +0200
commita047a692c6518b542911c7553c0e6689be5b204e (patch)
treecc6ec1595e24cea85fc719b63377ff39f3ad17e9
parent3b96d6ca9f8474c26b8a5514c022068f6387d950 (diff)
downloadvyos-build-a047a692c6518b542911c7553c0e6689be5b204e.tar.gz
vyos-build-a047a692c6518b542911c7553c0e6689be5b204e.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 6f4190ee..3de61f78 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -113,8 +113,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.2-crux-$(date +%Y%m%d%H%M)
+ sudo make iso
+ """
}
}
}