Sfoglia il codice sorgente

Re-enable analysis

tags/7.5
Simon Brandhof 6 anni fa
parent
commit
8011b50e01
1 ha cambiato i file con 3 aggiunte e 5 eliminazioni
  1. 3
    5
      travis.sh

+ 3
- 5
travis.sh Vedi File

@@ -81,10 +81,9 @@ BUILD)

elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo 'Build and analyze master'
# FIXME analysis disabled for now
./gradlew --no-daemon --console plain \
-DbuildNumber=$BUILD_NUMBER \
build artifactoryPublish -PjacocoEnabled=true -Prelease=true \
build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.projectVersion=$INITIAL_VERSION \
@@ -95,10 +94,9 @@ BUILD)

elif [[ "$TRAVIS_BRANCH" == "branch-"* ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo 'Build release branch'
# FIXME analysis disabled for now
./gradlew --no-daemon --console plain \
-DbuildNumber=$BUILD_NUMBER \
build artifactoryPublish -PjacocoEnabled=true -Prelease=true \
build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.branch.name=$TRAVIS_BRANCH \
@@ -112,7 +110,7 @@ BUILD)
echo 'Build and analyze internal pull request'
./gradlew --no-daemon --console plain \
-DbuildNumber=$BUILD_NUMBER \
build artifactoryPublish -PjacocoEnabled=true -Prelease=true \
build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.analysis.buildNumber=$BUILD_NUMBER \

Loading…
Annulla
Salva