File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 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