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

后端 未结 3 1295
迷失自我
迷失自我 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:45

    The problem is with the travis encryption.

    Correct encryption syntax:

    travis encrypt 309473973909Z09R830 -r my-org/my-repo

    No variable name, no quote.

    If you are running travis encrypt inside your repo directory you can just use

    travis encrypt 309473973909Z09R830

    Kindly replace you token for 309473973909Z09R830

    The above trick worked for me. Thought of making it more visible to the public.

    Credits: @ron190

提交回复
热议问题