Skip to content

Commit 955d1a3

Browse files
authored
Merge pull request #674 from gitlab4j/jabby-patch-1
build: temporary skip tests on github action
2 parents e570c9b + ccda043 commit 955d1a3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16-
- name: Set up JDK 8
16+
- name: Set up JDK 11
1717
uses: actions/setup-java@v1
1818
with:
19-
java-version: 8
19+
java-version: 11
2020
- name: Cache SonarCloud packages
2121
uses: actions/cache@v1
2222
with:
@@ -33,4 +33,4 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3535
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
36-
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
36+
run: mvn -B test org.sonarsource.scanner.maven:sonar-maven-plugin:sonar

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
<gitlab.autoremove-container>true</gitlab.autoremove-container>
6868
<gitlab.skip-docker-start>true</gitlab.skip-docker-start>
6969
<gitlab.port>8090</gitlab.port>
70+
71+
<sonar.projectKey>gitlab4j_gitlab4j-api</sonar.projectKey>
72+
<sonar.organization>gitlab4j</sonar.organization>
73+
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
7074
</properties>
7175

7276
<scm>

0 commit comments

Comments
 (0)