Skip to content

Commit

Permalink
Upgrade java and sonarqube-gradle-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoTavares committed Sep 18, 2024
1 parent 0a8c388 commit 39d96fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/testing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
chown -R aswfuser:aswfgroup .
echo JAVA_HOME=$JAVA_HOME
cuebot/gradlew --version
su -c "cd cuebot && ./gradlew jacocoTestReport sonarqube -Dsonar.login=$(SONAR_TOKEN)" aswfuser
cuebot/gradlew dependencies
su -c "cd cuebot && ./gradlew jacocoTestReport sonar -Dsonar.login=$(SONAR_TOKEN)" aswfuser
5 changes: 3 additions & 2 deletions cuebot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.8'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.2.1.RELEASE'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8'
}
}

Expand Down Expand Up @@ -123,7 +123,7 @@ bootJar {
}

jacoco {
toolVersion = "0.8.5"
toolVersion = "0.8.12"
}

jacocoTestReport {
Expand All @@ -147,6 +147,7 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.java.source", "11"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.organization", "academysoftwarefoundation"
property "sonar.projectKey", "AcademySoftwareFoundation_OpenCue_Cuebot"
Expand Down

0 comments on commit 39d96fa

Please sign in to comment.