Skip to content

Commit 3638dbe

Browse files
committed
adding node to the PATH for Sonar
1 parent 80e8720 commit 3638dbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,10 @@ pipeline {
177177
echo "sonar.sources=${wktui_sources}" >> ${sonarscanner_config_file}
178178
cat "${sonarscanner_config_file}"
179179
180+
PATH="${linux_node_dir}/bin:${PATH}"; export PATH
180181
SONAR_SCANNER_OPTS="-server -Dhttps.proxyHost=${WKTUI_PROXY_HOST} -Dhttps.proxyPort=${WKTUI_PROXY_PORT} -Dsonar.login=${SONAR_AUTH_TOKEN}"
181182
export SONAR_SCANNER_OPTS
182-
${sonarscanner_exe} -X
183+
${sonarscanner_exe}
183184
"""
184185
}
185186
}

0 commit comments

Comments
 (0)