File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,11 @@ jobs:
200200 env :
201201 SONAR_HOST_URL : ${{ fromJSON(steps.secrets.outputs.vault).SONAR_HOST_URL }}
202202 SONAR_TOKEN : ${{ fromJSON(steps.secrets.outputs.vault).SONAR_TOKEN }}
203- run : |
204- PULL_REQUEST_SHA=$GIT_SHA1 mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --batch-mode --activate-profiles coverage --define maven.deploy.skip=true
203+ uses : SonarSource/ci-github-actions/build-maven@v1
204+ with :
205+ deploy : false
206+ artifactory-reader-role : private-reader # Override default public-reader
207+ artifactory-deployer-role : qa-deployer # Override default public-deployer
205208 - name : Build Java Custom Rules Example
206209 env :
207210 SONAR_HOST_URL : ${{ fromJSON(steps.secrets.outputs.vault).SONAR_HOST_URL }}
You can’t perform that action at this time.
0 commit comments