Skip to content

Dockerized SonarQube for mobile projects - Android (Java, Kotlin), iOS (Swift)

License

Notifications You must be signed in to change notification settings

Paldom/docker-sonarqube-mobile-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

docker-sonarqube-mobile-ci

Dockerized SonarQube for mobile projects and CI+CD pipelines - Android (Java, Kotlin), iOS (Swift)

This repository contains the Dockerfile of the dpal/docker-sonarqube-mobile-ci image, built on official SonarQube image, extended with plugins recommended for native mobile apps.

Common plugins

  • sonarqube-community-branch-plugin
  • sonar-checkstyle
  • sonar-pmd
  • sonar-findbugs
  • sonar-detekt
  • sonar-swift
  • sonar-yaml
  • mutation-analysis-plugin

Android plugin

Note: sonar-android plugin is no longer supported, requires sonarqube 7.1. Default Kotlin plugin is used instead.

Kotlin plugins

Note: sonar-kotlin is bundled from sonarqube version 8.5, but detekt plugins is still need to be installed

Swfit plugin

Usage

Prerequisites

Pull image

From Docker Hub

docker pull dpal/docker-sonarqube-mobile-ci:latest

Or build from GitHub

docker build -t dpal/docker-sonarqube-mobile-ci github.com/paldom/docker-sonarqube-mobile-ci

Run docker image

Here's an example how to run this docker container:

docker run -d --name sonarqube -p 9000:9000 dpal/docker-sonarqube-mobile-ci

For advanced usage and more details see official guide.

About

Dockerized SonarQube for mobile projects - Android (Java, Kotlin), iOS (Swift)

Resources

License

Stars

Watchers

Forks

Packages

No packages published