File tree Expand file tree Collapse file tree 3 files changed +7
-19
lines changed
Expand file tree Collapse file tree 3 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 88name : Java CI
99
1010on : [push, pull_request]
11+ env :
12+ MVN_USR : dummy
13+ MVN_PWD : ${{ secrets.GITHUB_TOKEN }}
14+
1115
1216jobs :
1317
3943 path : " **/target/"
4044 key : ${{ runner.os }}-cache-java-${{ matrix.java }}-${{ github.sha }}
4145 - name : Build with Maven
42- run : mvn -B clean install -s settings.xml
43- env :
44- MVN_USR : dummy
45- MVN_PWD : ${{ secrets.GITHUB_TOKEN }}
46+ run : mvn -B clean verify -s settings.xml
4647
4748 code-analysis :
4849 permissions :
6566 path : " **/target/"
6667 fail-on-cache-miss : true
6768 key : ${{ runner.os }}-cache-java-21-${{ github.sha }}
68- # the latest version at https://github.com/marketplace/actions/official-sonarqube-scan
69- # Triggering SonarQube analysis as results of it are required by Quality Gate check.
7069 - name : SonarQube Scan
71- uses : SonarSource/sonarqube-scan-action@v6
72- with :
73- args : >
74- -Dsonar.qualitygate.wait=true
75- -Dsonar.qualitygate.timeout=600
70+ run : mvn -s settings.xml -B org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Turiok_sonar-icode-cnes-plugin
7671 env :
7772 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
7873
Original file line number Diff line number Diff line change 7171 <sonar .pluginOrganizationName>CNES</sonar .pluginOrganizationName>
7272 <sonar .sources>src/main/java</sonar .sources>
7373 <sonar .test>src/test/java</sonar .test>
74+ <sonar .organization>turiok</sonar .organization>
7475 </properties >
7576
7677 <dependencies >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments