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 2828 wget https://raw.githubusercontent.com/entur/ror-maven-settings/master/.m2/settings.xml -O .github/workflows/settings.xml
2929 - uses : actions/setup-java@v4
3030 with :
31- java-version : 17.0.15
31+ java-version : 1.8
3232 distribution : temurin
3333 - name : Cache Maven dependencies
3434 uses : actions/cache@v4
4141 ${{ runner.os }}-
4242
4343 - 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