I am trying to set up Sonar cloud Analysis for a Java Maven project using Azure pipelines.And the moment I turn on Sonar cloud Analysis in my pipeline I start getting unauthorized. I am unusre on where to update token with in Sonar.My Sonar cloud Service Connection is working alright and I can see an entry for the token in security section of Sonar Cloud as below:
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
I have tried to generate a new token this week and mapped in Sonar Cloud.I did face some issues with accessing Sonar Cloud (only via my account) today afternoon and the authentication error is gone now.I am still unclear on how it is resolved though. But I am now facing a different issue , the build gives below and shows no analysis results in the Sonar cloud . Is there a way I can confirm the location of analysis in the logs.Your help would be highly appreciated.
##[warning]No analyses found in this build! Please check your build configuration. Finishing: SonarCloudPublish
I have following quetsions too,
I see that Sonar cloud suggests to have a service connection and different key value to be used while trying to analyse a project, Is it like we have to create a new service connection and key pair value for each project?
We are planning to allign the access of projects with in Sonar Cloud with AD group set up, ie; when a particular AD group have access to a set of projects in Azure Sonar Cloud also should mirror this.Is this possible to have AD group synchronisation within Sonar Cloud.
You may see a lot of messages coming from me since we have started to implement Sonar Cloud to all our Cient Projects :).
Thanks in advance!
Kindly let me know your thoughts.
We try to keep it to one topic per thread. Otherwise it can get messy, fast, and it seems that your latest post is unrelated to the initial topic of this thread.
Your latest post is a new question. Please create a new thread for it, with all the details.