Automate Sonar Qube Tag through Azure DevOps Pipline

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension): 2025.1
  • how is SonarQube deployed: zip, Docker, Helm: ZIP
  • what are you trying to achieve: Automating the Sonar qube tags
  • what have you tried so far to achieve this:- Trying setting up on Prepare analysis task

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

I wanted to set up sonar Qube tag for project created in Sonar Qube. I want this to be checked and create when we are runnign the analysis through Azure DevOps. Currently e have to do manually through UI. I sthere any better way to automate this.

Thanks
Sunil Bindra

Hi Sunil,

There’s no way to do this as part of analysis. A post-project-creation automation is your best bet.

 
Ann