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 @@ -18,8 +18,8 @@ node ("docker-light") {
1818 apt-get install -y git && \
1919 pushd /source && \
2020 MY_SONAR_OPTS=\"-Dsonar.login=${env.SONAR_AUTH_TOKEN} -Dsonar.host.url=${env.SONAR_HOST_URL}\" \
21- if [[ ! -z ${env.CHANGE_BRANCH} ]]; then
22- MY_SONAR_OPTS+=-Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.base=${env.CHANGE_TARGET} -Dsonar.pullrequest.branch=${env.CHANGE_BRANCH}
21+ if [[ ! -z ${env.CHANGE_BRANCH} ]]; then \
22+ MY_SONAR_OPTS+=-Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.base=${env.CHANGE_TARGET} -Dsonar.pullrequest.branch=${env.CHANGE_BRANCH} \
2323 fi \
2424 echo \"Sonar Options are: ${MY_SONAR_OPTS}\" \
2525 /opt/maven-basis/bin/mvn --batch-mode clean install sonar:sonar ${MY_SONAR_OPTS}\""
You can’t perform that action at this time.
0 commit comments