diff options
author | Tom <thomas.verin@sonarsource.com> | 2016-05-27 17:14:46 +0200 |
---|---|---|
committer | Tom <thomas.verin@sonarsource.com> | 2016-05-27 17:14:46 +0200 |
commit | ad239bd651c1ccd555c4f84111416bb0b2aefe0b (patch) | |
tree | 6aa3a121fcced54242b7095ddbf772850d2cb1ca /travis.sh | |
parent | 5b89819c676b1969213a7df2c5f5e3145dbd33b5 (diff) | |
download | sonarqube-ad239bd651c1ccd555c4f84111416bb0b2aefe0b.tar.gz sonarqube-ad239bd651c1ccd555c4f84111416bb0b2aefe0b.zip |
reverse deploy exclusion cause they fails QA5.6-RC2
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/travis.sh b/travis.sh index 284f0def7a0..74820c6fae8 100755 --- a/travis.sh +++ b/travis.sh @@ -37,21 +37,16 @@ CI) if [[ $CURRENT_VERSION =~ "-SNAPSHOT" ]]; then echo "======= Found SNAPSHOT version =======" # Do not deploy a SNAPSHOT version but the release version related to this build - set_maven_build_version $TRAVIS_BUILD_NUMBER - # analysis is currently executed by SonarSource internal infrastructure - mvn deploy \ - -Pdeploy-sonarsource \ - -B -e -V + set_maven_build_version $TRAVIS_BUILD_NUMBER else echo "======= Found RELEASE version =======" - # analysis is currently executed by SonarSource internal infrastructure - mvn deploy \ - -Pdeploy-sonarsource,release \ - -B -e -V - ./distribution.sh - fi + # analysis is currently executed by SonarSource internal infrastructure + mvn deploy \ + -Pdeploy-sonarsource \ + -B -e -V + elif [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ -n "${GITHUB_TOKEN:-}" ]; then |