File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ node ("docker-light") {
1717 bash -c \"apt-get update && \
1818 apt-get install -y git && \
1919 pushd /source && \
20- MY_SONAR_OPTS=\"-Dsonar.login=${env.SONAR_AUTH_TOKEN} -Dsonar.host.url=${env.SONAR_HOST_URL}\" \
20+ export MY_SONAR_OPTS=\"-Dsonar.login=${env.SONAR_AUTH_TOKEN} -Dsonar.host.url=${env.SONAR_HOST_URL}\" \
2121 if [[ ! -z ${env.CHANGE_BRANCH} ]]; then \
2222 MY_SONAR_OPTS+=-Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.base=${env.CHANGE_TARGET} -Dsonar.pullrequest.branch=${env.CHANGE_BRANCH} \
2323 fi \
24- echo \"Sonar Options are: ${MY_SONAR_OPTS}\" \
24+ echo \"Sonar Options are: ${env. MY_SONAR_OPTS}\" \
2525 /opt/maven-basis/bin/mvn --batch-mode clean install sonar:sonar ${MY_SONAR_OPTS}\""
2626 }
2727 }
You can’t perform that action at this time.
0 commit comments