Blame view
README.md
602 Bytes
4b1e0534c
![]() |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
#docker-sonar-runner ### How to build > docker build -t docker-internal.alfresco.com/docker-sonar-scanner . ### Usage Copy the project settings file to your project ``` cp sample/sonar.project.settings.properties <your_source_folder> ``` Edit the file with your configuration: ``` sonar.projectKey=org.alfresco:console-frontend sonar.projectName=Console Frontend sonar.projectVersion=0.0.1 # /tmp is mandatory sonar.sources=/tmp/dist # Optional # sonar.exclusions=/tmp/dist/vendor/** ``` Start the scan ``` docker run -v $PWD:/tmp docker-internal.alfresco.com/docker-sonar-scanner:2.6.1 ``` |