diff --git a/.drone.yml b/.drone.yml index 2e26727..7ec907c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,21 @@ kind: pipeline -ttype: docker +type: docker name: ShakeAndCraft trigger: - event: - - push + event: + - push steps: - - name: build + - name: build image: gradle:jdk11 commands: - - gradle build - - name: sonarqube + - gradle build + + - name: sonarqube image: sonarsource/sonar-scanner-cli:4.5 environment: - - SONAR_HOST_URL=https://your-sonarqube-url.com - - SONAR_LOGIN=${SONAR_TOKEN} - commands: - - sonar-scanner \ No newline at end of file + - SONAR_HOST_URL=https://your-sonarqube-url.com + - SONAR_LOGIN=${SONAR_TOKEN} + commands: + - sonar-scanner