mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 13:17:50 +08:00
Set up JDK 11 for SonarCloud in github action. (#3052)
* Set up JDK 11 for SonarCloud in github action. * Fix javadoc error with JDK 11. * Prevent Javadoc from stopping if it finds any html errors.
This commit is contained in:
parent
90c90b25b0
commit
a51dafc382
8
.github/workflows/ci_ut.yml
vendored
8
.github/workflows/ci_ut.yml
vendored
@ -67,10 +67,14 @@ jobs:
|
||||
- name: Upload coverage report to codecov
|
||||
run: |
|
||||
CODECOV_TOKEN="09c2663f-b091-4258-8a47-c981827eb29a" bash <(curl -s https://codecov.io/bash)
|
||||
# Set up JDK 11 for SonarCloud.
|
||||
- name: Set up JDK 1.11
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.11
|
||||
- name: Run SonarCloud Analysis
|
||||
run: >
|
||||
mvn verify --batch-mode
|
||||
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.1.1688:sonar
|
||||
mvn --batch-mode verify sonar:sonar
|
||||
-Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml
|
||||
-Dmaven.test.skip=true
|
||||
-Dsonar.host.url=https://sonarcloud.io
|
||||
|
Loading…
Reference in New Issue
Block a user