Search code examples
sonarqubebambooxcuitest

Integrating SonarQube (Swift) with Bamboo


I tried SonarQube and sonar-scanner for my XCUItests locally on my machine using the docker image but now I want to integrate it with our CI (Bamboo), we already have our SonarQube server but I have no clue on next steps to integrate it to Bamboo.

I am using it for UI Tests in swift using XCUITest


Solution

  • Click add task and choose Sonar Scanner. Update the task with values, add if sub directory required, then additional param with -Dsonar.java.binaries=target/classes, update server value for your company, update project key as unique and save with other default values. It should work.