From d115fd46df00dbbcc5ad4dc4cb8b1ac52ede3b9b Mon Sep 17 00:00:00 2001 From: Guilhem Bonnefille <guilhem.bonnefille@c-s.fr> Date: Tue, 4 Oct 2022 14:34:10 +0000 Subject: [PATCH] fix: remove quotes embeded with value Using this syntax, the `"` is made part of the system property's value. --- templates/gitlab-ci-maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitlab-ci-maven.yml b/templates/gitlab-ci-maven.yml index 18f72dd..80d83f9 100644 --- a/templates/gitlab-ci-maven.yml +++ b/templates/gitlab-ci-maven.yml @@ -337,7 +337,7 @@ stages: host=$(echo "$host_port" | cut -d':' -f1) port=$(echo "$host_port" | cut -s -d':' -f2) proto_proxy_args="-D$proto.proxyHost=$host -D$proto.proxyPort=${port:-80}" - if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=\"$non_proxy_hosts\""; fi + if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=$non_proxy_hosts"; fi echo "$proto_proxy_args" fi } -- GitLab