Added sonarqube dependency scanning

This commit is contained in:
2022-07-30 15:44:18 -04:00
parent dd2437a0a9
commit 3dc0ec37cb
3 changed files with 48 additions and 14 deletions

29
.vscode/tasks.json vendored
View File

@@ -16,22 +16,29 @@
"group": "test"
},
{
"label": "sonarqube build",
"label": "sonarqube build (Windows)",
"group": "build",
"type": "shell",
"command": "mvn",
"args":[
"clean",
"verify",
"sonar:sonar",
"-D'sonar.projectKey=mattrixwv_javaclasses_AYGcayKpopaC7KAbzMEM'",
"-D'sonar.host.url=http://192.168.1.4:9000'",
"-D'sonar.login=sqp_2af28d9d9fec79b24bc7db35323d9e2f193b7972'"
],
"command": "./sonarBuild.ps1",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": []
},
{
"label": "sonarqube build (Linux)",
"group": "build",
"type": "shell",
"command": "./sonarBuild.sh",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": false