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:
commit
29fc30a6d2
@ -27,8 +27,7 @@ then
|
|||||||
-Dsonar.branch.name=${bamboo_planRepository_1_branch} \
|
-Dsonar.branch.name=${bamboo_planRepository_1_branch} \
|
||||||
-Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json \
|
-Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json \
|
||||||
-Dsonar.dependencyCheck.xmlReportPath=target/dependency-check-report.xml \
|
-Dsonar.dependencyCheck.xmlReportPath=target/dependency-check-report.xml \
|
||||||
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html \
|
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html
|
||||||
-Dsonar.java.binaries=${bamboo_build_working_directory}/target
|
|
||||||
else
|
else
|
||||||
echo "Sonar Scan for PR with key1: ${bamboo_repository_pr_key}"
|
echo "Sonar Scan for PR with key1: ${bamboo_repository_pr_key}"
|
||||||
mvn --no-transfer-progress \
|
mvn --no-transfer-progress \
|
||||||
@ -42,6 +41,5 @@ else
|
|||||||
-Dsonar.pullrequest.base=${bamboo_repository_pr_targetBranch} \
|
-Dsonar.pullrequest.base=${bamboo_repository_pr_targetBranch} \
|
||||||
-Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json \
|
-Dsonar.dependencyCheck.jsonReportPath=target/dependency-check-report.json \
|
||||||
-Dsonar.dependencyCheck.xmlReportPath=target/dependency-check-report.xml \
|
-Dsonar.dependencyCheck.xmlReportPath=target/dependency-check-report.xml \
|
||||||
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html \
|
-Dsonar.dependencyCheck.htmlReportPath=target/dependency-check-report.html
|
||||||
-Dsonar.java.binaries=${bamboo_build_working_directory}/target
|
|
||||||
fi
|
fi
|
||||||
Loading…
x
Reference in New Issue
Block a user