Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci-java-sonar-action
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emmanuel Bruno
ci-java-sonar-action
Commits
f6ffc237
Commit
f6ffc237
authored
2 years ago
by
Emmanuel Bruno
Browse files
Options
Downloads
Patches
Plain Diff
fixes sonar token.
parent
6cf8e944
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
action.yml
+1
-1
1 addition, 1 deletion
action.yml
with
1 addition
and
1 deletion
action.yml
+
1
−
1
View file @
f6ffc237
...
...
@@ -7,7 +7,7 @@ runs:
# it uses env variables from github secrets for the credentials
# to github, dockerhub and sonar.
-
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
-
name
:
Deploy Maven Artifacts
run
:
${{ github.action_path }}/mvn.sh deploy
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment