Skip to content

Commit 60e50aa

Browse files
committed
NO-JIRA: Wrong equality check.
1 parent 440507b commit 60e50aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ node ("docker-light") {
1010
stage("Maven Build") {
1111
withSonarQubeEnv {
1212
mySonarOpts="-Dsonar.login=${env.SONAR_AUTH_TOKEN} -Dsonar.host.url=${env.SONAR_HOST_URL}"
13-
if ("${env.CHANGE_BRANCH}" == "null") {
13+
if ("${env.CHANGE_BRANCH}" != "null") {
1414
mySonarOpts="$mySonarOpts -Dsonar.pullrequest.key=${env.CHANGE_ID} -Dsonar.pullrequest.base=${env.CHANGE_TARGET} -Dsonar.pullrequest.branch=${env.CHANGE_BRANCH}"
1515
}
1616
echo("Sonar Options are: $mySonarOpts")

0 commit comments

Comments
 (0)