diff options
author | David Rautureau <david.rautureau@sonarsource.com> | 2018-03-19 10:42:25 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-22 12:37:47 +0100 |
commit | 99da49bb3ba36077917d82ba9affd1e6f24f5d8d (patch) | |
tree | a50ca9c31ed310461cb8cb22208a3d7c844fbf0f /travis.sh | |
parent | 0a9d9db7f85e7d45b4ffa319d262231f311641f9 (diff) | |
download | sonarqube-99da49bb3ba36077917d82ba9affd1e6f24f5d8d.tar.gz sonarqube-99da49bb3ba36077917d82ba9affd1e6f24f5d8d.zip |
Enable deployment of artifacts on release branches
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/travis.sh b/travis.sh index 6674f5f7b28..baa705d9eea 100755 --- a/travis.sh +++ b/travis.sh @@ -78,10 +78,10 @@ BUILD) if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Build and analyze master' - # FIXME analysis and deployment disabled for now + # FIXME analysis disabled for now ./gradlew --no-daemon --console plain \ -DbuildNumber=$BUILD_NUMBER \ - build -PjacocoEnabled=true -Prelease=true \ + build artifactoryPublish -PjacocoEnabled=true -Prelease=true \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ -Dsonar.projectVersion=$INITIAL_VERSION \ @@ -92,10 +92,10 @@ BUILD) elif [[ "$TRAVIS_BRANCH" == "branch-"* ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Build release branch' - # FIXME analysis and deployment disabled for now + # FIXME analysis disabled for now ./gradlew --no-daemon --console plain \ -DbuildNumber=$BUILD_NUMBER \ - build -PjacocoEnabled=true -Prelease=true \ + build artifactoryPublish -PjacocoEnabled=true -Prelease=true \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ -Dsonar.branch.name=$TRAVIS_BRANCH \ |