Awesome presentation, you are a gem! Thank you for helping the community, may you grow exponentially professionally for the great work you are doing. Would be great if you cover some other integrations like ServiceNow in the release pipeline for change management, that would be so cool. Thanks BOSS!
sorry for delayed response, if code coverage file is generated and you are performing sonar scan even after test failure then yes the results will be published to sonar.
Sorry for delayed response. You can try scanning different projects with different project keys, that will make sure results are shown separately for each project.
Can u help me in. I am struck in one of statuschecks implementations. I have enabled it as a mandatory check for Code quality but they are listed out as optional.
I am trying to setup the PR decoration. I have followed the steps you have mentioned. But I am not able to view SonarCloud/qualitygate in the status check of the branch policy. Do we need to add any configuration to the pipeline to view that?
Make sure you are not doing it on private repository, for private repository I think you will need developer edition. If you are not using private repository then follow steps mentioned in below blog, let me know if it solves the problem. writeabout.net/2019/04/18/use-pull-request-decoration-in-azure-devops-with-sonarcloud/
Sorry for the delayed response, check if you are using private repository for scanning. I think for it free only for public repositories. You can also refer below steps for enabling it: writeabout.net/2019/04/18/use-pull-request-decoration-in-azure-devops-with-sonarcloud/
Please follow steps I have mentioned in below video, the portion starts at 14:00 - th-cam.com/video/AzZSwuea4uc/w-d-xo.html Let me know if you still face the issue.
In case you are using SonarQube then you can use those tasks, SonarQube deployment files you can download and host on your own server for uploading the results. In case organization do not want to go with cloud offering and want to keep the results within premises then SonarQube is the option. If the content helps you then do subscribe to my channel.
Sorry for delayed response, for branch analysis I think you can use below parameter: sonar.branch.name Project will stay same, only branch name will be additional parameter.
Sorry for delayed response, I have not tried that but you can follow steps mentioned in below blog to achieve it: writeabout.net/2018/09/25/fail-your-azure-devops-pipeline-if-sonarqube-quality-gate-fails/
@@davidacero5646 Sorry for delayed response, as per my knowledge the community edition only supports scanning on main branch. So with different branch of same repo it won't be possible.
Hi can you explain how to integrate, sonarCloud with azure pipeline (not sonarcloud). I am able to download and start sorcube server in my local. But no idea how i will intergrate that into azure devops piepeline
For that you will need to host SonarQube on server where we can upload the results, below blog contains very easy steps for the setup till creating service connection: blog.opstree.com/2021/04/27/sonarqube-integration-with-azure-devops/ Once the service connection is ready in Azure DevOps you can use the SonarQube tasks for scanning the project and uploading the results (similar to what we have done in SonarCloud section) Let me know if you face any issues in setup.
@@thesoftwaredeveloper2307 Thanks for the reply,, And I think, here Sonarcube is downloaded and installed in an azure virtual machine. Is it possible to access the sonarcube installed in my local ?
@@okey1317 I have not tried but you can try one thing, use self hosted agent and host sonarqube on same machine. The locally hosted sonarqube portal will be accessible on this agent so it might work.
Sorry for delayed response, the organizations must be visible under user icon on top. If you click on it, it should show the organizations list. If the content helps you, do subscribe to the channel.
Awesome presentation, you are a gem! Thank you for helping the community, may you grow exponentially professionally for the great work you are doing. Would be great if you cover some other integrations like ServiceNow in the release pipeline for change management, that would be so cool. Thanks BOSS!
Thank you for the comment...
Superb mate, it is very good explanation. Cheers.
Glad you liked it!
very well explained ..thank you so much
Thank you for the comment, if the content helps you do subscribe to my channel.
Thank you very much, this is helpful :)
Thank you for your comment.
excellent👏👏👏👍👍👍
Thank you :)
awesome, it was very helpful
Thank you for your comment, glad it helped!
Thank You Very Much
Very well explained. Thanks!!
Will it generate coverage report on sonar cloud if some tests are failing ?
sorry for delayed response, if code coverage file is generated and you are performing sonar scan even after test failure then yes the results will be published to sonar.
Excellent
Really helpful. Keep it up !!
Thank you, Glad it helped!
nice thanks to help
Great demo! But how does it work under the hood? Is an agent from SonarCloud downloaded on the build agent machine for making the quality checks?
10:45 Could you please help me on configuring sonarcloud for multiple projects? How we can add variables or parameters.
Sorry for delayed response. You can try scanning different projects with different project keys, that will make sure results are shown separately for each project.
@@thesoftwaredeveloper2307 I have used pre-defined variables and its working.
angular pipe line will have the same steps right in case of sonar cloud
Really helpful. We are having an issue with 0 code coverage as well.
I hope the issue is resolved now, in case you are still facing the issue do let me know.
If the content helps you do subscribe to my channel.
Can u help me in. I am struck in one of statuschecks implementations. I have enabled it as a mandatory check for Code quality but they are listed out as optional.
I am trying to setup the PR decoration. I have followed the steps you have mentioned. But I am not able to view SonarCloud/qualitygate in the status check of the branch policy. Do we need to add any configuration to the pipeline to view that?
Make sure you are not doing it on private repository, for private repository I think you will need developer edition.
If you are not using private repository then follow steps mentioned in below blog, let me know if it solves the problem.
writeabout.net/2019/04/18/use-pull-request-decoration-in-azure-devops-with-sonarcloud/
I am setting up sonar PR decoration for my ADO Project. I am not getting drop down for sonar status check. what can be the issue?
Sorry for the delayed response, check if you are using private repository for scanning. I think for it free only for public repositories.
You can also refer below steps for enabling it:
writeabout.net/2019/04/18/use-pull-request-decoration-in-azure-devops-with-sonarcloud/
Hi, video helped alot thanks for the effort, but still facing issue in code coverage its not coming up
Please follow steps I have mentioned in below video, the portion starts at 14:00 -
th-cam.com/video/AzZSwuea4uc/w-d-xo.html
Let me know if you still face the issue.
Hi if I login with GitHub credential, I can't see Azure DevOps organization name?
For azure DevOps organization you will need to use your azure DevOps account.
How to generate personal access token from Azure?
here we are using sonarCloud right? I see sonarQube tasks aswell in azure. when are they used?
In case you are using SonarQube then you can use those tasks, SonarQube deployment files you can download and host on your own server for uploading the results. In case organization do not want to go with cloud offering and want to keep the results within premises then SonarQube is the option.
If the content helps you then do subscribe to my channel.
How can we include to the branches in sonarcloud????
Sorry for delayed response, for branch analysis I think you can use below parameter:
sonar.branch.name
Project will stay same, only branch name will be additional parameter.
@@thesoftwaredeveloper2307 thanks for ur response,I'm able to get that branch 😉
How do you set the quality gate standard?
Sorry for delayed response, I have not tried that but you can follow steps mentioned in below blog to achieve it:
writeabout.net/2018/09/25/fail-your-azure-devops-pipeline-if-sonarqube-quality-gate-fails/
Thankyou for the video., But for me its showing no code coverage...wat might be the problm?
Sorry for delayed response, the reason can be wrong configuration for coverage file.
Is it possible to publish the analysis results into a different branch?
Just to make sure I got your question right, so you want to upload the results in different project?
@@thesoftwaredeveloper2307 , same repo, different branch.
@@davidacero5646 Sorry for delayed response, as per my knowledge the community edition only supports scanning on main branch. So with different branch of same repo it won't be possible.
How can I configure sonarcloud through docker image and yml file?
Sorry for delayed response, I have not tried this but you can check if there is any existing docker image with this sonarqube configuration.
Hi can you explain how to integrate, sonarCloud with azure pipeline (not sonarcloud). I am able to download and start sorcube server in my local. But no idea how i will intergrate that into azure devops piepeline
For that you will need to host SonarQube on server where we can upload the results, below blog contains very easy steps for the setup till creating service connection:
blog.opstree.com/2021/04/27/sonarqube-integration-with-azure-devops/
Once the service connection is ready in Azure DevOps you can use the SonarQube tasks for scanning the project and uploading the results (similar to what we have done in SonarCloud section)
Let me know if you face any issues in setup.
@@thesoftwaredeveloper2307 Thanks for the reply,, And I think, here Sonarcube is downloaded and installed in an azure virtual machine. Is it possible to access the sonarcube installed in my local ?
@@okey1317 I have not tried but you can try one thing, use self hosted agent and host sonarqube on same machine. The locally hosted sonarqube portal will be accessible on this agent so it might work.
In Sonar Cloud after adding token WHy i am not able to see the Organisation Its faded..for me only one organistaion is visible.
Sorry for delayed response, the organizations must be visible under user icon on top. If you click on it, it should show the organizations list.
If the content helps you, do subscribe to the channel.
@@thesoftwaredeveloper2307 thankyou
Can you please provide me the repo ?