I’m trying to execute SonarCloud through travis for the Spring Petclinic organization.
I’ve started with the spring-framework-petclinic project: https://github.com/spring-petclinic/spring-framework-petclinic
From my laptop, with the maven command I’ve runned a first analyze: https://sonarcloud.io/dashboard?id=spring-petclinic_spring-framework-petclinic
But from TravisCI, it fails every time, it says: "You’re not authorized to run analysis. Please contact the project administrator.”.
Here is my travis configuration: https://github.com/spring-petclinic/spring-framework-petclinic/blob/master/.travis.yml
I’ve tried to encrypt the SonarCloud token with and without the -r option :
travis encrypt “sonarcloud_token”
travis encrypt -r spring-petclinic/spring-framework-petclinic “sonarcloud_token”
Thank you very much for your help