update yaml format

This commit is contained in:
Rogan 2019-02-17 11:10:46 +08:00
parent 4e7f76260b
commit d2afbb890a
2 changed files with 18 additions and 16 deletions

View File

@ -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:
```yaml
code-analysis:
steps
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
sonar_host:
@ -25,7 +26,8 @@ The below pipeline configuration demonstrates simple usage:
Customized parameters could be specified:
```diff
code-analysis:
steps
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
sonar_host:

View File

@ -23,7 +23,8 @@ docker run --rm \
### Pipeline example
```yaml
code-analysis:
steps
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
sonar_host:
@ -31,4 +32,3 @@ docker run --rm \
sonar_token:
from_secret: sonar_token
```