diff options
author | Janos Gyerik <janos.gyerik@sonarsource.com> | 2018-01-29 13:51:33 +0100 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2018-01-31 09:50:29 +0100 |
commit | f65a4f3e169098132892a307ce589298cb4ebe8a (patch) | |
tree | 74d1c54eb150f0d15249af404fb888e0d60f45e6 /travis.sh | |
parent | 7da033c1e685814c3fec2cc5c43e8608e2be586b (diff) | |
download | sonarqube-f65a4f3e169098132892a307ce589298cb4ebe8a.tar.gz sonarqube-f65a4f3e169098132892a307ce589298cb4ebe8a.zip |
Add new sonar.pullrequest.id property to build script
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/travis.sh b/travis.sh index 7a7a20a2c95..7145df65bb8 100755 --- a/travis.sh +++ b/travis.sh @@ -178,6 +178,7 @@ BUILD) -Dsource.skip=true \ -Pdeploy-sonarsource + # TODO remove the sonar.pullrequest.github.* settings after sonar-core-plugins 7.1.0.330 is deployed on Next mvn sonar:sonar \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_TOKEN \ @@ -188,6 +189,7 @@ BUILD) -Dsonar.analysis.sha1=$TRAVIS_PULL_REQUEST_SHA \ -Dsonar.analysis.prNumber=$TRAVIS_PULL_REQUEST \ -Dsonar.analysis.repository=$TRAVIS_REPO_SLUG \ + -Dsonar.pullrequest.id=$TRAVIS_PULL_REQUEST \ -Dsonar.pullrequest.github.id=$TRAVIS_PULL_REQUEST \ -Dsonar.pullrequest.github.repository=$TRAVIS_REPO_SLUG else |