From c832b2ae1081383f4c25d608bc7f1bf8f355dfd1 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Sat, 8 Apr 2023 16:23:11 +0000 Subject: [PATCH] added sonarqube drone pipeline --- .drone.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.drone.yaml b/.drone.yaml index 1b15755..e558422 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -25,6 +25,22 @@ steps: force: true ssh_key: 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: branch: - master