PHP Code scanning from Azure Devops using self hosted agents

Hi ,

I’m running a pipeline from azure Devops which self hosted agents. I need to integrate sonarqube tasks in pipeline, but there doesn’t seem to be an option to scan php code.
Could someone provide a link for scanning php(laravel) code from azure devops pipelines using self hosted agents.

Regards,
Majid Jahangeer

Any one with the answer?

Hi @Majid_Jahangeer,

Thank you very much for your request. In our Azure DevOps Integration documentation, you can find an example for PHP among others.
https://docs.sonarqube.org/latest/analysis/azuredevops-integration
It is located in the “Other” tab in the “Configuring branch analysis” section.
Maybe this example configuration can assist you.

Best,
Nils

1 Like