Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Python
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Python
Commits
75183d22
Commit
75183d22
authored
6 months ago
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
docs(SonarQube): update doc urls
parent
362c4418
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
+10
-10
10 additions, 10 deletions
README.md
with
10 additions
and
10 deletions
README.md
+
10
−
10
View file @
75183d22
...
@@ -146,8 +146,8 @@ In addition to a textual report in the console, this job produces the following
...
@@ -146,8 +146,8 @@ In addition to a textual report in the console, this job produces the following
| Report | Format | Usage |
| Report | Format | Usage |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
|
`$PYTHON_PROJECT_DIR/reports/TEST-*.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
&
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/test-execution-parameters/#
header-8
)
|
|
`$PYTHON_PROJECT_DIR/reports/TEST-*.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
&
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/test-execution-parameters/#
python
)
|
|
`$PYTHON_PROJECT_DIR/reports/py-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
)
&
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/python-test-coverage/
)
|
|
`$PYTHON_PROJECT_DIR/reports/py-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
)
&
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/python-test-coverage/
)
|
#### `py-pytest` job
#### `py-pytest` job
...
@@ -179,8 +179,8 @@ In addition to a textual report in the console, this job produces the following
...
@@ -179,8 +179,8 @@ In addition to a textual report in the console, this job produces the following
| Report | Format | Usage |
| Report | Format | Usage |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
|
`$PYTHON_PROJECT_DIR/reports/TEST-*.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
&
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/test-execution-parameters/#
header-8
)
|
|
`$PYTHON_PROJECT_DIR/reports/TEST-*.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
&
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/test-execution-parameters/#
python
)
|
|
`$PYTHON_PROJECT_DIR/reports/py-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
)
&
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/python-test-coverage/
)
|
|
`$PYTHON_PROJECT_DIR/reports/py-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
)
&
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/python-test-coverage/
)
|
#### `py-nosetests` job
#### `py-nosetests` job
...
@@ -203,8 +203,8 @@ In addition to a textual report in the console, this job produces the following
...
@@ -203,8 +203,8 @@ In addition to a textual report in the console, this job produces the following
| Report | Format | Usage |
| Report | Format | Usage |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
|
`$PYTHON_PROJECT_DIR/reports/TEST-*.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
&
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/test-execution-parameters/#
header-8
)
|
|
`$PYTHON_PROJECT_DIR/reports/TEST-*.xml`
|
[
xUnit
](
https://en.wikipedia.org/wiki/XUnit
)
test report(s) |
[
GitLab integration
](
https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsjunit
)
&
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/test-execution-parameters/#
python
)
|
|
`$PYTHON_PROJECT_DIR/reports/py-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
)
&
[
SonarQube integration
](
https://docs.sonar
qube.org/latest/analysis
/test-coverage/python-test-coverage/
)
|
|
`$PYTHON_PROJECT_DIR/reports/py-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
)
&
[
SonarQube integration
](
https://docs.sonar
source.com/sonarqube-server/latest/analyzing-source-code
/test-coverage/python-test-coverage/
)
|
#### `py-compile` job
#### `py-compile` job
...
@@ -353,7 +353,7 @@ In addition to a textual report in the console, this job produces the following
...
@@ -353,7 +353,7 @@ In addition to a textual report in the console, this job produces the following
If you're using the SonarQube template to analyse your Python code, here is a sample
`sonar-project.properties`
file:
If you're using the SonarQube template to analyse your Python code, here is a sample
`sonar-project.properties`
file:
```
properties
```
properties
# see: https://docs.sonar
qube.org
/latest/analyzing-source-code/test-coverage/python-test-coverage/
# see: https://docs.sonar
source.com/sonarqube-server
/latest/analyzing-source-code/test-coverage/python-test-coverage/
# set your source directory(ies) here (relative to the sonar-project.properties file)
# set your source directory(ies) here (relative to the sonar-project.properties file)
sonar.sources
=
.
sonar.sources
=
.
# exclude unwanted directories and files from being analysed
# exclude unwanted directories and files from being analysed
...
@@ -379,9 +379,9 @@ sonar.python.mypy.reportPaths=reports/py-mypy.console.txt
...
@@ -379,9 +379,9 @@ sonar.python.mypy.reportPaths=reports/py-mypy.console.txt
More info:
More info:
*
[
Python language support
](
https://docs.sonar
qube.org
/latest/analyzing-source-code/test-coverage/python-test-coverage/
)
*
[
Python language support
](
https://docs.sonar
source.com/sonarqube-server
/latest/analyzing-source-code/test-coverage/python-test-coverage/
)
*
[
test coverage
& execution parameters
](
https://docs.sonarqube.org/latest/analysis/coverage/
)
*
[
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
*
[
third-party issue
s
](
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/importing-external-issues/external-analyzer-reports/
)
*
[
external analyzer report
s
](
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/importing-external-issues/external-analyzer-reports/
)
### `py-release` job
### `py-release` job
...
...
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