From 714b5735ab7e972fd08ed63ab81764c8f2221e39 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 7 Oct 2022 22:13:59 +0200 Subject: Jenkins: reference build variables in new build system --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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') -- cgit v1.2.3