Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Go
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Go
Commits
f722a127
Commit
f722a127
authored
5 months ago
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
docs(SonarQube): update doc urls
parent
58ba5c4c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-5
5 additions, 5 deletions
README.md
with
5 additions
and
5 deletions
README.md
+
5
−
5
View file @
f722a127
...
...
@@ -150,7 +150,7 @@ In addition to a textual report in the console, the test jobs produce the follow
| Report | Format | Usage |
|-----------------------------------------------------|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
|
`$GO_PROJECT_DIR/reports/go-test.native.txt`
| native Go test report (text) | N/A |
|
`$GO_PROJECT_DIR/reports/go-test.native.json`
| native Go test report (json) |
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/test-execution-parameters/#
header-8
)
|
|
`$GO_PROJECT_DIR/reports/go-test.native.json`
| native Go test report (json) |
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/test-execution-parameters/#
go
)
|
|
`$GO_PROJECT_DIR/reports/go-test.xunit.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
|
|
`$GO_PROJECT_DIR/reports/go-coverage.native.out`
| native Go coverage | N/A |
|
`$GO_PROJECT_DIR/reports/go-coverage.cobertura.xml`
|
[
Cobertura XML
](
https://gcovr.com/en/stable/output/cobertura.html
)
coverage report |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportscoverage_report
)
|
...
...
@@ -219,7 +219,7 @@ Checking outdated modules can be a long operation and therefore the job is confi
If you're using the SonarQube template to analyse your Go code, here is a sample
`sonar-project.properties`
file:
```
properties
# see: https://docs.sonar
qube.org
/latest/analyzing-source-code/test-coverage/test-execution-parameters/#go
# see: https://docs.sonar
source.com/sonarqube-server
/latest/analyzing-source-code/test-coverage/test-execution-parameters/#go
# set your source directory(ies) here (relative to the sonar-project.properties file)
sonar.sources
=
.
# exclude unwanted directories and files from being analysed
...
...
@@ -240,9 +240,9 @@ sonar.go.golangci-lint.reportPaths=reports/go-ci-lint.checkstyle.xml
More info:
*
[
Go language support
](
https://docs.sonar
qube.org
/latest/analyzing-source-code/test-coverage/test-execution-parameters/#go
)
*
[
test coverage
& execution parameters
](
https://docs.sonarqube.org/latest/analysis/coverage/
)
*
[
third-party issue
s
](
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/importing-external-issues/external-analyzer-reports/
)
*
[
Go language support
](
https://docs.sonar
source.com/sonarqube-server
/latest/analyzing-source-code/test-coverage/test-execution-parameters/#go
)
*
[
test coverage
](
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/test-coverage/test-coverage-parameters/
)
&
[
test execution
](
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/test-coverage/test-execution-parameters/
)
parameters
*
[
external analyzer report
s
](
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/importing-external-issues/external-analyzer-reports/
)
:warning: an
[
unsolved issue
](
https://jira.sonarsource.com/browse/SONARSLANG-450
)
may prevent SonarQube Go plugin from
importing your test reports.
...
...
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