RED-5603: Removed dependency check report html
This commit is contained in:
parent
d1433c6c98
commit
b5130f6d8b
@ -17,7 +17,7 @@ mvn --no-transfer-progress \
|
|||||||
if [[ -z "${bamboo_repository_pr_key}" ]]
|
if [[ -z "${bamboo_repository_pr_key}" ]]
|
||||||
then
|
then
|
||||||
echo "Sonar Scan for branch: ${bamboo_planRepository_1_branch}"
|
echo "Sonar Scan for branch: ${bamboo_planRepository_1_branch}"
|
||||||
mvn --no-transfer-progress \
|
mvn -X --no-transfer-progress \
|
||||||
-f ${bamboo_build_working_directory}/$SERVICE_NAME-v1/pom.xml \
|
-f ${bamboo_build_working_directory}/$SERVICE_NAME-v1/pom.xml \
|
||||||
sonar:sonar \
|
sonar:sonar \
|
||||||
-Dsonar.projectKey=RED_$SERVICE_NAME \
|
-Dsonar.projectKey=RED_$SERVICE_NAME \
|
||||||
@ -27,9 +27,10 @@ then
|
|||||||
-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
|
||||||
|
echo "Finished Sonar Scan"
|
||||||
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 -X --no-transfer-progress \
|
||||||
-f ${bamboo_build_working_directory}/$SERVICE_NAME-v1/pom.xml \
|
-f ${bamboo_build_working_directory}/$SERVICE_NAME-v1/pom.xml \
|
||||||
sonar:sonar \
|
sonar:sonar \
|
||||||
-Dsonar.projectKey=RED_$SERVICE_NAME \
|
-Dsonar.projectKey=RED_$SERVICE_NAME \
|
||||||
@ -41,4 +42,5 @@ else
|
|||||||
-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
|
||||||
|
echo "Finished Sonar Scan"
|
||||||
fi
|
fi
|
||||||
@ -59,6 +59,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.owasp</groupId>
|
<groupId>org.owasp</groupId>
|
||||||
<artifactId>dependency-check-maven</artifactId>
|
<artifactId>dependency-check-maven</artifactId>
|
||||||
|
<version>7.1.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<format>ALL</format>
|
<format>ALL</format>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user