Commit 5e38883b authored by 李欣峰's avatar 李欣峰

<dev>

parent b479d66d
Pipeline #35337 failed with stages
in 39 seconds
...@@ -7,7 +7,6 @@ stages: ...@@ -7,7 +7,6 @@ stages:
- sonar_scan - sonar_scan
- build_package - build_package
- tag_release - tag_release
- sonar_unit_test
before_script: before_script:
...@@ -40,19 +39,6 @@ maven_clean: ...@@ -40,19 +39,6 @@ maven_clean:
script: script:
- 'bash /cicd-script/maven/maven_clean.sh' - 'bash /cicd-script/maven/maven_clean.sh'
sonar_unit_test:
stage: sonar_unit_test
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- tmp/
- target/
when: manual
image: hub.zorkdata.com/devops/maven3.6-jdk1.8:9b09951e
allow_failure: false
script:
- 'bash /$CI_PROJECT_DIR/api-service-getway-project/api-service-getway-web/package/scripts/hosts.sh'
- 'bash /cicd-script/sonar_unit_test.sh'
sonar_scan: sonar_scan:
stage: sonar_scan stage: sonar_scan
......
  • SonarQube analysis reported 5 issues

    • 1 major
    • 🔽 4 minor

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. Add a private constructor to hide the implicit public one. 📘
    2. 🔽 Remove this unused import 'org.springframework.context.ApplicationContext'. 📘
    3. 🔽 Remove this unused import 'java.util.Map'. 📘
    4. 🔽 Remove this unused import 'javax.validation.Valid'. 📘
    5. 🔽 Make this member "protected". 📘
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