Hi there, I’m totally new to SonarQube, I’m trying to implement SonarQube to my CI pipeline on azure DevOps. Everything is working as expected, except when running the
Run Analysis Task. I don’t know if anyone have experience in DevOps and Pipeline but I’m really stuck here. Here’s what I’m using:
I’m trying to implement SonarQube in my Azure DevOps pipeline
Please check the error I’m facing.
Anyone have an idea about how to solve this issue please?
I would start by removing the plugin comunitybsl or upgrade the java version on the azure node if required by the plugin.
Also new hand having trouble integrating into a AzureDevops CI pipeline. Latest correspondence in this thread:
From my sonarcube dashboard, I am seeing the coverage for master branch which is the main branch. is there any way to change the main branch to ‘develop’?
master branch is for prod which can’t be deleted. Our all the features development is based on develop branch. So I am wondering is there any way to show the coverage for develop branch as a default on the dashboard.
No I solved it out, the issue was in the existing JDK on Microsoft Hosted Agent.
Uploading JDK Zip folder to Azure Blob Storage
Using Java Tool Installer Task to install the JDK from Azure
Run the Analysis Code normally
Everything then worked fine for me, the pipeline was successfully finished and the result was publish to our SonarQube Server