Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 authored Dec 14, 2022
1 parent 73948f3 commit 122602b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
./tool_prepare-codenarc
- name: Build and analyze
working-directory: .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -e -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=cnumr_ecoCode -Dsonar.exclusions=**/codenarc-converter/**,**/*.groovy,**/android-plugin/src/test/**,**/*.dummy
# waiting for new SonarQube secrets (Jules)
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# run: mvn -e -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=cnumr_ecoCode -Dsonar.exclusions=**/codenarc-converter/**,**/*.groovy,**/android-plugin/src/test/**,**/*.dummy
# following line to delete when sonarqube secrets ok
run: mvn -e -B verify

0 comments on commit 122602b

Please sign in to comment.