Skip to content

jduigoudev/ecoCode-mobile-ios-swift-test-project

 
 

Repository files navigation

Plugin SonarQube iOS Test Project

This project aims to demonstrate how to integrate plugin-sonarqube with an iOS project

Initialization

Before starting, you have to run a sonarqube instance with the ecoCode iOS plugin running. Please follow the documentation: https://github.com/green-code-initiative/ecoCode-mobile/blob/main/INSTALL.md.

On the deployed SonarQube instance, configure a project with the following properties:

  • Project Key: ecoCodeTestiOS
  • Project name: ecoCodeTestiOS
  • Save the project login key somewhere.

Update the sonar-project.properties file with the project login key:

sonar.projectKey=ecoCodeTestiOS
sonar.projectName=ecoCodeTestiOS

sonar.login=your_login_here

Command line

To run the project, just use the following command line from the project root:

  • On Windows:
sonar-scanner\sonar-scanner-4.7.0.2747-windows\bin\sonar-scanner.bat

Note that login and default sonarQube host can be overriden using -Dsonar.host.url and -Dsonar.login command line parameters.

About

Swift project to test the swift plugin of ecoCode-mobile.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 61.4%
  • Batchfile 38.6%