Error using Travis CI with Sonarcloud: Not authorized. Please check the properties sonar.login and sonar.password

后端 未结 3 1297
迷失自我
迷失自我 2021-01-05 12:52

I\'m following Get started instructions on sonarcloud.io to execute the SonarQube Scanner for Maven from my computer:



        
3条回答
  •  一整个雨季
    2021-01-05 13:33

    I agree with Santhosh Tpixler that your problem is likely with the Travis encryption of the token. In my case I need travis-ci.com (opposed to travis-ci.org, see https://devops.stackexchange.com/q/1201), therefore had to use the --pro flag.

    From inside the project directory I used these commands:

    travis login --pro
    travis encrypt --pro 
    

提交回复
热议问题