Browse Source

Add sonar.pullrequest.* properties to travis.sh

tags/7.0-RC1
Janos Gyerik 6 years ago
parent
commit
368472609e
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      travis.sh

+ 3
- 1
travis.sh View File

@@ -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'


Loading…
Cancel
Save