mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-06-01 22:12:21 +00:00
Update maven-ci.yml
This commit is contained in:
committed by
GitHub
parent
47e746c3ba
commit
8135dbecdb
@@ -50,7 +50,8 @@ jobs:
|
|||||||
# Some tests need screen access
|
# Some tests need screen access
|
||||||
- name: Install xvfb
|
- name: Install xvfb
|
||||||
run: sudo apt-get install -y xvfb
|
run: sudo apt-get install -y xvfb
|
||||||
# SonarQube scan does not work for forked repositories
|
# The SonarQube analysis is only for the master branch of the main repository.
|
||||||
|
# SonarQube scan does not work for forked repositories try changing it to xvfb-run mvn clean verify
|
||||||
# See https://jira.sonarsource.com/browse/MMF-1371
|
# See https://jira.sonarsource.com/browse/MMF-1371
|
||||||
- name: Build with Maven and run SonarQube analysis
|
- name: Build with Maven and run SonarQube analysis
|
||||||
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
|
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
|
||||||
|
|||||||
Reference in New Issue
Block a user