RED-6098: fixed sonar issue for Sec-build

This commit is contained in:
Ali Oezyetimoglu 2023-04-11 14:16:52 +02:00
parent e709cb6a44
commit a76de5c955

View File

@ -27,8 +27,7 @@ then
-Dsonar.branch.name=${bamboo_planRepository_1_branch} \
-Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json \
-Dsonar.dependencyCheck.xmlReportPath=target/dependency-check-report.xml \
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html \
-Dsonar.java.binaries=${bamboo_build_working_directory}/target
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html
else
echo "Sonar Scan for PR with key1: ${bamboo_repository_pr_key}"
mvn --no-transfer-progress \
@ -42,6 +41,5 @@ else
-Dsonar.pullrequest.base=${bamboo_repository_pr_targetBranch} \
-Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json \
-Dsonar.dependencyCheck.xmlReportPath=target/dependency-check-report.xml \
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html \
-Dsonar.java.binaries=${bamboo_build_working_directory}/target
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html
fi