update yaml format
This commit is contained in:
parent
4e7f76260b
commit
d2afbb890a
6
DOCS.md
6
DOCS.md
@ -13,7 +13,8 @@ This plugin can scan your code quality and post the analysis report to your Sona
|
|||||||
The below pipeline configuration demonstrates simple usage:
|
The below pipeline configuration demonstrates simple usage:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
code-analysis:
|
steps
|
||||||
|
- name: code-analysis
|
||||||
image: aosapps/drone-sonar-plugin
|
image: aosapps/drone-sonar-plugin
|
||||||
settings:
|
settings:
|
||||||
sonar_host:
|
sonar_host:
|
||||||
@ -25,7 +26,8 @@ The below pipeline configuration demonstrates simple usage:
|
|||||||
Customized parameters could be specified:
|
Customized parameters could be specified:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
code-analysis:
|
steps
|
||||||
|
- name: code-analysis
|
||||||
image: aosapps/drone-sonar-plugin
|
image: aosapps/drone-sonar-plugin
|
||||||
settings:
|
settings:
|
||||||
sonar_host:
|
sonar_host:
|
||||||
|
@ -23,7 +23,8 @@ docker run --rm \
|
|||||||
|
|
||||||
### Pipeline example
|
### Pipeline example
|
||||||
```yaml
|
```yaml
|
||||||
code-analysis:
|
steps
|
||||||
|
- name: code-analysis
|
||||||
image: aosapps/drone-sonar-plugin
|
image: aosapps/drone-sonar-plugin
|
||||||
settings:
|
settings:
|
||||||
sonar_host:
|
sonar_host:
|
||||||
@ -31,4 +32,3 @@ docker run --rm \
|
|||||||
sonar_token:
|
sonar_token:
|
||||||
from_secret: sonar_token
|
from_secret: sonar_token
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user