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
|
@ -25,6 +25,22 @@ steps:
|
||||||
force: true
|
force: true
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: id_rsa
|
from_secret: id_rsa
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- 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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Add table
Reference in a new issue