From f65a4f3e169098132892a307ce589298cb4ebe8a Mon Sep 17 00:00:00 2001 From: Janos Gyerik Date: Mon, 29 Jan 2018 13:51:33 +0100 Subject: [PATCH] Add new sonar.pullrequest.id property to build script --- travis.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5