Skip to content
Snippets Groups Projects
Commit f6ffc237 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

fixes sonar token.

parent 6cf8e944
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ runs: ...@@ -7,7 +7,7 @@ runs:
# it uses env variables from github secrets for the credentials # it uses env variables from github secrets for the credentials
# to github, dockerhub and sonar. # to github, dockerhub and sonar.
- name: run sonar with Maven in docker - name: run sonar with Maven in docker
run: ${{ github.action_path }}/mvn.sh sonar:sonar -D sonar.branch.name=$(git rev-parse --abbrev-ref HEAD|tr / _ ) -DskipTests=true -Dsonar.language=java -Dsonar.report.export.path=sonar-report.json -Dsonar.host.url=${{ env.SONAR_URL }} --activate-profiles sonar run: ${{ github.action_path }}/mvn.sh sonar:sonar -D sonar.branch.name=$(git rev-parse --abbrev-ref HEAD|tr / _ ) -DskipTests=true -Dsonar.language=java -Dsonar.report.export.path=sonar-report.json -Dsonar.host.url=${{ env.SONAR_URL }} --sonar.login=${{ env.SONAR_TOKEN }} --activate-profiles sonar
shell: bash shell: bash
- name: Deploy Maven Artifacts - name: Deploy Maven Artifacts
run: ${{ github.action_path }}/mvn.sh deploy run: ${{ github.action_path }}/mvn.sh deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment