Pull request #223: RED-6098: fixed sonar issue for Sec-build

Merge in RED/redaction-report-service from RED-6098-B to master

* commit 'a76de5c9555235c2abe1bb5da9433feeeebba54c':
  RED-6098: fixed sonar issue for Sec-build
This commit is contained in:
Ali Oezyetimoglu 2023-04-12 09:09:16 +02:00 committed by Christoph Schabert
commit 29fc30a6d2

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