diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-18 22:13:43 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-22 12:37:47 +0100 |
commit | 0a9d9db7f85e7d45b4ffa319d262231f311641f9 (patch) | |
tree | adb10e40de4c3ae338ee2c29f10c9caf8cb821c9 /travis.sh | |
parent | 73e39a73e70b97ab0043cf5abc4eddcf68f2ce00 (diff) | |
download | sonarqube-0a9d9db7f85e7d45b4ffa319d262231f311641f9.tar.gz sonarqube-0a9d9db7f85e7d45b4ffa319d262231f311641f9.zip |
Single Gradle build for SQ and core plugins
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/travis.sh b/travis.sh index 5386944b148..6674f5f7b28 100755 --- a/travis.sh +++ b/travis.sh @@ -78,9 +78,10 @@ BUILD) if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Build and analyze master' + # FIXME analysis and deployment disabled for now ./gradlew --no-daemon --console plain \ -DbuildNumber=$BUILD_NUMBER \ - build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \ + build -PjacocoEnabled=true -Prelease=true \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ -Dsonar.projectVersion=$INITIAL_VERSION \ @@ -91,9 +92,10 @@ BUILD) elif [[ "$TRAVIS_BRANCH" == "branch-"* ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Build release branch' + # FIXME analysis and deployment disabled for now ./gradlew --no-daemon --console plain \ -DbuildNumber=$BUILD_NUMBER \ - build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \ + build -PjacocoEnabled=true -Prelease=true \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ -Dsonar.branch.name=$TRAVIS_BRANCH \ @@ -107,7 +109,7 @@ BUILD) echo 'Build and analyze internal pull request' ./gradlew --no-daemon --console plain \ -DbuildNumber=$BUILD_NUMBER \ - build sonarqube artifactoryPublish -PjacocoEnabled=true -Prelease=true \ + build artifactoryPublish -PjacocoEnabled=true -Prelease=true \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ -Dsonar.analysis.buildNumber=$BUILD_NUMBER \ |