Commit ad3679f2 by Administrator

Update sonar_preview.sh

parent fd7a06dd
Pipeline #23 passed with stage
in 3 seconds
......@@ -7,7 +7,8 @@ mvn --batch-mode verify sonar:sonar \
-Dsonar.analysis.mode=preview \
-Dsonar.gitlab.project_id=$CI_PROJECT_ID \
-Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA \
-Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
-Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME \
clean install
if [ $? -eq 0 ]; then
echo "sonarqube code-analyze-preview over."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment