How to run Code Analyses on Swift using AzureDevOps?

We are trying to run the code Analyze scan via azure pipelines on a Swift Xcode project, we have a lot of issues trying to find the correct documentation and orientation on how to do it.

We are trying this tasks, but its not working at all:

      # after SonarQubePrepare@5
      # Run Code Analysis task
       - task: SonarQubeAnalyze@5
      # Publish Quality Gate Result task
      - task: SonarQubePublish@5
        inputs:
          pollingTimeoutSec: '300'

How can we make the sonarQube scan on our Azure Pipelines jobs and send it ?

We are using SonarQube Enterprise Edition Version 10.1.

Hi,

Can you show your full pipeline? Does it include SonarQubePrepare@5 as shown in the docs?

Does anything happen? Nothing at all?

 
Ann

I had to make changes on my SonarQubePrepare@5. Its working now! Thank you

1 Like

hi can you share with me the pipeline if you still have it