File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 28
28
wget https://raw.githubusercontent.com/entur/ror-maven-settings/master/.m2/settings.xml -O .github/workflows/settings.xml
29
29
- uses : actions/setup-java@v4
30
30
with :
31
- java-version : 17.0.15
31
+ java-version : 1.8
32
32
distribution : temurin
33
33
- name : Cache Maven dependencies
34
34
uses : actions/cache@v4
41
41
${{ runner.os }}-
42
42
43
43
- name : Run maven build
44
- run : mvn package -s .github/workflows/settings.xml
45
- - name : Sonar Scan
46
- env :
47
- SONAR_TOKEN : ${{ secrets.ENTUR_SONAR_PASSWORD }}
48
- SONAR_PROJECT_NAME : ${{ github.event.repository.name }}
49
- SONAR_PROJECT_KEY : entur_${{ github.event.repository.name }}
50
- run : |
51
- mvn -Psonar -s .github/workflows/settings.xml \
52
- org.jacoco:jacoco-maven-plugin:prepare-agent verify \
53
- org.jacoco:jacoco-maven-plugin:report sonar:sonar \
54
- -Dmaven.main.skip \
55
- -DskipTests \
56
- -Dsonar.projectKey=${SONAR_PROJECT_KEY} \
57
- -Dsonar.organization=enturas-github \
58
- -Dsonar.projectName=${SONAR_PROJECT_NAME} \
59
- -Dsonar.host.url=https://sonarcloud.io \
60
- -Dsonar.token=${SONAR_TOKEN}
61
-
44
+ run : mvn package -s .github/workflows/settings.xml
You can’t perform that action at this time.
0 commit comments