Skip to content

Instantly share code, notes, and snippets.

@Wooder
Created November 29, 2021 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wooder/29e0e12c578a7354455d16f72a940758 to your computer and use it in GitHub Desktop.
Save Wooder/29e0e12c578a7354455d16f72a940758 to your computer and use it in GitHub Desktop.
# See https://docs.sonarqube.org/7.2/AnalysisParameters.html for documentation
sonar.projectKey=your_project_key
sonar.organization=default
sonar.links.homepage=https://gitlab.com/aaa/bbb
sonar.projectBaseDir=.
sonar.sources=YourApp/Classes
sonar.host.url=https://sonarqube-instance.yourdomain.com/
sonar.report.export.path=sonar-report.json
#sonar.login= add this if running sonar-client locally
sonar.qualitygate.wait=true
sonar.qualitygate.timeout=600
# exclude source files from duplication analysis
sonar.cpd.exclusions=**/Codegen/**/*, **/GraphQL/generated/*
# general exclusions
sonar.exclusions=**/*Mock.swift
# exclude c, c++, ObjC files
sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment