Skip to content

Commit 9e8203e

Browse files
authored
Disable Java sonar stage [AP-1376] (#1402)
# Description @swift-nav/devinfra There are java version incompatibility issues which are currently failing CI checks. The solution is not forthcoming so simply disable the stage for the moment until a solution is found To be re-enabled with AP-1377 # API compatibility Does this change introduce a API compatibility risk? No ## API compatibility plan If the above is "Yes", please detail the compatibility (or migration) plan: N/A # JIRA Reference https://swift-nav.atlassian.net/browse/AP-1376
1 parent 2af78f3 commit 9e8203e

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

.github/workflows/java.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ jobs:
2323
- name: Run tests
2424
run: make test-java
2525

26-
sonarqube:
27-
name: SonarQube
28-
runs-on: ubuntu-20.04
29-
steps:
30-
- uses: actions/checkout@v2
31-
with:
32-
fetch-depth: 0
33-
- uses: gradle/gradle-build-action@v2
34-
with:
35-
gradle-version: 7.1.1
36-
- name: Run tests
37-
run: make test-java
38-
39-
- name: Run sonarqube
40-
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
43-
run: (cd java && gradle sonarqube)
26+
# sonarqube:
27+
# name: SonarQube
28+
# runs-on: ubuntu-20.04
29+
# steps:
30+
# - uses: actions/checkout@v2
31+
# with:
32+
# fetch-depth: 0
33+
# - uses: gradle/gradle-build-action@v2
34+
# with:
35+
# gradle-version: 7.1.1
36+
# - name: Run tests
37+
# run: make test-java
38+
#
39+
# - name: Run sonarqube
40+
# env:
41+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
43+
# run: (cd java && gradle sonarqube)

java/build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'jacoco'
3-
id "org.sonarqube" version "3.3"
3+
// id "org.sonarqube" version "3.3"
44
// spotless pre v5 used to allow gradle 4 on ubuntu-latest
55
id "com.diffplug.gradle.spotless" version "4.5.1"
66
id 'maven-publish'
@@ -60,15 +60,15 @@ jacocoTestReport {
6060
}
6161
}
6262

63-
sonarqube {
64-
properties {
65-
property 'sonar.projectName', "libsbp-java"
66-
property "sonar.projectKey", "swift-nav_libsbp"
67-
property "sonar.organization", "swift-nav"
68-
property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml'
69-
property "sonar.host.url", "https://sonarcloud.io"
70-
}
71-
}
63+
// sonarqube {
64+
// properties {
65+
// property 'sonar.projectName', "libsbp-java"
66+
// property "sonar.projectKey", "swift-nav_libsbp"
67+
// property "sonar.organization", "swift-nav"
68+
// property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/jacoco/test/jacocoTestReport.xml'
69+
// property "sonar.host.url", "https://sonarcloud.io"
70+
// }
71+
// }
7272

7373
spotless {
7474
java {

0 commit comments

Comments
 (0)