Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't show the sonar token in the logs (fix #127)
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Dec 2016 19:31:34 +0000 (20:31 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Dec 2016 19:31:38 +0000 (20:31 +0100)
the token was regenerated, too.

tools/internal/travis-sonarqube.sh

index 6201f57..360d7c4 100755 (executable)
@@ -38,4 +38,5 @@ installBuildWrapper
 
 # and finally execute the actual SonarQube analysis (the SONAR_TOKEN is set from the travis web interface, to not expose it)
 # See https://docs.travis-ci.com/user/sonarqube/ for more info on tokens
 
 # and finally execute the actual SonarQube analysis (the SONAR_TOKEN is set from the travis web interface, to not expose it)
 # See https://docs.travis-ci.com/user/sonarqube/ for more info on tokens
+set +x # don't show the token in the logs
 sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN
 sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_TOKEN