Skip to content

Commit 8f993d1

Browse files
Merge pull request #100 from drone-plugins/feat/drone-docs
Update README.md - drone docs
2 parents 0a1ff61 + 972ead7 commit 8f993d1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,26 @@ spec:
101101
skip_scan: true
102102
```
103103
104+
### DRONE Pipeline example
105+
```yaml
106+
kind: pipeline
107+
name: default
108+
109+
steps:
110+
- name: perform-code-analysis
111+
image: plugins/sonarqube-scanner:v2.3.0
112+
settings:
113+
sonar_host: http://34.100.11.50
114+
sonar_token:
115+
from_secret: sonar_token
116+
sources: .
117+
binaries: .
118+
sonar_name: sonarqube-scanner
119+
sonar_key: sonarqube-scanner
120+
```
121+
122+
123+
104124
### Configuration Parameters
105125
106126
- `key`: The project key in SonarQube.

0 commit comments

Comments
 (0)