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

Skip Sonarqube analysis if SONAR_LOGIN is not defined.

parent 85d788f0
......@@ -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$SONAR -Dsonar.login=${SONAR_LOGIN}'
- if [ $SONAR_LOGIN ]; then '$GRADLE jacocoTestReport sonarqube$SONAR -Dsonar.login=${SONAR_LOGIN}'; fi
Supports Markdown
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