summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-07 22:13:59 +0200
committerChristian Poessinger <christian@poessinger.com>2022-10-07 22:52:26 +0200
commit714b5735ab7e972fd08ed63ab81764c8f2221e39 (patch)
tree937833d666a3c30d728fe9c4abc253016ebbcaba
parentbe1d5e016590e9373dd7f5caf8602125ceff899f (diff)
downloadvyos-build-714b5735ab7e972fd08ed63ab81764c8f2221e39.tar.gz
vyos-build-714b5735ab7e972fd08ed63ab81764c8f2221e39.zip
Jenkins: reference build variables in new build system
-rw-r--r--Jenkinsfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index ab32ef71..5f3d5aef 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -95,7 +95,12 @@ pipeline {
if (params.BUILD_VERSION == env.BASE_VERSION + 'ISO8601-TIMESTAMP')
VYOS_VERSION = env.BASE_VERSION + sh(returnStdout: true, script: 'date -u +%Y%m%d%H%M').toString().trim()
- sh "sudo make iso"
+ sh """
+ sudo ./build-vyos-image --build-by "${params.BUILD_BY}" \
+ --debian-mirror http://deb.debian.org/debian/ \
+ --build-type release \
+ --version "${VYOS_VERSION}" ${CUSTOM_PACKAGES} iso
+ """
if (fileExists('build/live-image-amd64.hybrid.iso') == false) {
error('ISO build error')