added sonarqube drone pipeline
This commit is contained in:
parent
2b3ac6d127
commit
c832b2ae10
1 changed files with 16 additions and 0 deletions
16
.drone.yaml
16
.drone.yaml
|
@ -30,3 +30,19 @@ trigger:
|
||||||
- master
|
- master
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: sonarqube
|
||||||
|
steps:
|
||||||
|
- name: sonar scanner
|
||||||
|
image: sonarsource/sonar-scanner-cli
|
||||||
|
environment:
|
||||||
|
SONAR_HOST_URL: https://sonarqube.broodjeaap.net
|
||||||
|
SONAR_LOGIN:
|
||||||
|
from_secret: sonarqube_token
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
Loading…
Add table
Reference in a new issue