From 35a31fdd79724096d710ace463d98901a32209a5 Mon Sep 17 00:00:00 2001 From: nanxun Date: Fri, 24 Apr 2026 19:08:24 +0800 Subject: [PATCH] ci: escape buildx no-proxy values --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dcb5125..9ea5d1d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,6 +18,7 @@ pipeline { HTTP_PROXY = 'http://192.168.5.200:7890' HTTPS_PROXY = 'http://192.168.5.200:7890' NO_PROXY = '127.0.0.1,localhost,reg.nxsir.cn,gitea.nxsir.cn,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12' + NO_PROXY_DRIVER = '127.0.0.1\\,localhost\\,reg.nxsir.cn\\,gitea.nxsir.cn\\,192.168.0.0/16\\,10.0.0.0/8\\,172.16.0.0/12' GIT_REPO_URL = 'https://gitea.nxsir.cn/nanxun/live_recorder.git' GIT_BRANCH = 'main' @@ -85,7 +86,7 @@ pipeline { --driver docker-container \ --driver-opt env.http_proxy=${HTTP_PROXY} \ --driver-opt env.https_proxy=${HTTPS_PROXY} \ - --driver-opt env.no_proxy=${NO_PROXY} \ + --driver-opt env.no_proxy=${NO_PROXY_DRIVER} \ --use fi sudo docker buildx inspect --builder ${BUILDER_NAME} --bootstrap >/dev/null @@ -121,7 +122,7 @@ pipeline { --driver docker-container \ --driver-opt env.http_proxy=${HTTP_PROXY} \ --driver-opt env.https_proxy=${HTTPS_PROXY} \ - --driver-opt env.no_proxy=${NO_PROXY} \ + --driver-opt env.no_proxy=${NO_PROXY_DRIVER} \ --use fi sudo docker buildx inspect --builder ${BUILDER_NAME} --bootstrap >/dev/null