File tree Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 8
8
name : Java CI
9
9
10
10
on : [push, pull_request]
11
+ env :
12
+ MVN_USR : dummy
13
+ MVN_PWD : ${{ secrets.GITHUB_TOKEN }}
14
+
11
15
12
16
jobs :
13
17
40
44
key : ${{ runner.os }}-cache-java-${{ matrix.java }}-${{ github.sha }}
41
45
- name : Build with Maven
42
46
run : mvn -B clean install -s settings.xml
43
- env :
44
- MVN_USR : dummy
45
- MVN_PWD : ${{ secrets.GITHUB_TOKEN }}
46
47
47
48
code-analysis :
48
49
permissions :
65
66
path : " **/target/"
66
67
fail-on-cache-miss : true
67
68
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.
70
69
- 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.qualitygate.wait=true -Dsonar.qualitygate.timeout=600 -Dsonar.projectKey=Turiok_sonar-icode-cnes-plugin
76
71
env :
77
72
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
78
73
Original file line number Diff line number Diff line change 71
71
<sonar .pluginOrganizationName>CNES</sonar .pluginOrganizationName>
72
72
<sonar .sources>src/main/java</sonar .sources>
73
73
<sonar .test>src/test/java</sonar .test>
74
+ <sonar .organization>turiok</sonar .organization>
74
75
</properties >
75
76
76
77
<dependencies >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments