We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3c344f commit 4455328Copy full SHA for 4455328
Jenkinsfile
@@ -161,9 +161,9 @@ pipeline {
161
echo "Inside withSonarQubeEnv('SonarCloud') block"
162
sh "env|sort"
163
sh """
164
- hostport=$(echo $proxy | sed -e 's,http://,,')
165
- host=$(echo $hostport | awk '{split($0,a,":"); print a[1]}')
166
- port=$(echo $hostport | awk '{split($0,a,":"); print a[2]}')
+ hostport=\$(echo ${WKTUI_PROXY} | sed -e 's,http://,,')
+ host=\$(echo ${hostport} | awk '{split(\$0,a,":"); print a[1]}')
+ port=\$(echo ${hostport} | awk '{split(\$0,a,":"); print a[2]}')
167
echo http.proxyHome=${host} >> ${sonarscanner_config_file}
168
echo http.proxyPort=${port} >> ${sonarscanner_config_file}
169
echo "sonar.host.url=${SONAR_HOST_URL}" >> ${sonarscanner_config_file}
0 commit comments