Skip to content

Commit

Permalink
Use environment variable, not hardcoded token
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollado committed Aug 8, 2019
1 parent 9d84f68 commit e659200
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -93,4 +93,4 @@ jobs:
export PATH=$SONAR_SCANNER_HOME/bin:$PATH
export SONAR_SCANNER_OPTS="-server"
sonar-scanner
sonar-scanner -Dsonar.login=$SONAR_AUTH_TOKEN
7 changes: 3 additions & 4 deletions sonar-project.properties
@@ -1,3 +1,6 @@
# server
sonar.host.url=https://sonarcloud.io

# project
sonar.projectKey=GreyNoise-Intelligence_pygreynoise
sonar.organization=greynoise-intelligence
Expand All @@ -8,7 +11,3 @@ sonar.tests=tests
sonar.python.pylint.reportPath=workspace/pylint.txt
sonar.python.xunit.reportPath=workspace/test_results/pytest.xml
sonar.python.coverage.reportPaths=workspace/coverage/report.xml

# authentication
sonar.host.url=https://sonarcloud.io
sonar.login=36b503aeaab2a80a95d98e7fb105772d7a0c0c0b

0 comments on commit e659200

Please sign in to comment.