Skip to content

Commit 436bc11

Browse files
committed
Remove Sonar config on branch 1.x
1 parent e4965f6 commit 436bc11

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
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
@@ -41,21 +41,4 @@ jobs:
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

0 commit comments

Comments
 (0)