Sha256: 8a2460242200acf9eeeabb3e739c7eda701063d55dc9b31471629aec05e23adc
Contents?: true
Size: 1.2 KB
Versions: 156
Compression:
Stored size: 1.2 KB
Contents
#/bin/bash -e sonar_scanner() { local params=$@ sonar-scanner \ -Dsonar.host.url='https://sonarqube.split-internal.com' \ -Dsonar.login="$SONAR_TOKEN" \ -Dsonar.ws.timeout='300' \ -Dsonar.sources='lib' \ -Dsonar.projectName='ruby-client' \ -Dsonar.projectKey='ruby-client' \ -Dsonar.ruby.coverage.reportPaths='coverage/.resultset.json' \ -Dsonar.links.ci='https://travis-ci.com/splitio/ruby-client' \ -Dsonar.links.scm='https://github.com/splitio/ruby-client' \ ${params} return $? } if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then sonar_scanner \ -Dsonar.pullrequest.provider='GitHub' \ -Dsonar.pullrequest.github.repository='splitio/ruby-client' \ -Dsonar.pullrequest.key=$TRAVIS_PULL_REQUEST \ -Dsonar.pullrequest.branch=$TRAVIS_PULL_REQUEST_BRANCH \ -Dsonar.pullrequest.base=$TRAVIS_BRANCH else if [ "$TRAVIS_BRANCH" == 'master' ]; then sonar_scanner \ -Dsonar.branch.name=$TRAVIS_BRANCH else if [ "$TRAVIS_BRANCH" == 'development' ]; then TARGET_BRANCH='master' else TARGET_BRANCH='development' fi sonar_scanner \ -Dsonar.branch.name=$TRAVIS_BRANCH \ -Dsonar.branch.target=$TARGET_BRANCH fi fi
Version data entries
156 entries across 156 versions & 1 rubygems