Commit c491bcf9 authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Skip Sonarqube analysis if SONAR_LOGIN is not defined.

parent 85d788f0
Pipeline #13236 failed with stage
in 5 minutes and 59 seconds
......@@ -18,4 +18,4 @@ build:
- $GRADLE test jacocoTestCoverageVerification
- if [ $NEXUS_USER_NAME ]; then $GRADLE publish; fi
- if [ !$NEXUS_USER_NAME ]; then $GRADLE publishToMavenLocal; fi
- '$GRADLE jacocoTestReport sonarqube -Dsonar.host.url=$SONAR -Dsonar.login=${SONAR_LOGIN}'
- if [ $SONAR_LOGIN ]; then '$GRADLE jacocoTestReport sonarqube -Dsonar.host.url=$SONAR -Dsonar.login=${SONAR_LOGIN}'; fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment