summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 4ef4d927..efa075a6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -100,8 +100,9 @@ pipeline {
sh """
env
- sudo env
- sudo ./build-vyos-image --build-by "${params.BUILD_BY}" \
+ sudo --preserve-env env
+ sudo --preserve-env ./build-vyos-image \
+ --build-by "${params.BUILD_BY}" \
--debian-mirror http://deb.debian.org/debian/ \
--build-type release \
--version "${VYOS_VERSION}" ${CUSTOM_PACKAGES} iso