Mise à jour de '.drone.yml'
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
893d54dc3e
commit
4c645f15c3
@ -1,21 +1,20 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
ttype: docker
|
||||
name: ShakeAndCraft
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: gradle:jdk11
|
||||
commands:
|
||||
- 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
|
||||
- name: build
|
||||
image: gradle:jdk11
|
||||
commands:
|
||||
- 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
|
Loading…
Reference in new issue