aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorJanos Gyerik <janos.gyerik@sonarsource.com>2017-11-16 18:05:45 +0100
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-11-16 18:05:45 +0100
commit368472609eab8977070fea45949c0aa2965de31c (patch)
tree201570bd4a539b8ffac4f861f0de1e07304a70d1 /travis.sh
parent6dc1fa4a8673780f948c1f6e4917637467b35b47 (diff)
downloadsonarqube-368472609eab8977070fea45949c0aa2965de31c.tar.gz
sonarqube-368472609eab8977070fea45949c0aa2965de31c.zip
Add sonar.pullrequest.* properties to travis.sh
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 8f9149b0978..a001a957e22 100755
--- a/travis.sh
+++ b/travis.sh
@@ -196,7 +196,9 @@ BUILD)
-Dsonar.analysis.pipeline=$TRAVIS_BUILD_NUMBER \
-Dsonar.analysis.sha1=$TRAVIS_PULL_REQUEST_SHA \
-Dsonar.analysis.prNumber=$TRAVIS_PULL_REQUEST \
- -Dsonar.analysis.repository=$TRAVIS_REPO_SLUG
+ -Dsonar.analysis.repository=$TRAVIS_REPO_SLUG \
+ -Dsonar.pullrequest.github.id=$TRAVIS_PULL_REQUEST \
+ -Dsonar.pullrequest.github.repository=$TRAVIS_REPO_SLUG
else
echo 'Build feature branch or external pull request'