ReaderForSelfoss-multiplatform/.drone.yml

21 lines
516 B
YAML
Raw Normal View History

2022-07-23 20:28:06 +00:00
kind: pipeline
type: docker
steps:
2022-07-23 20:43:10 +00:00
- name: build
image: mingc/android-build-box:latest
commands:
- ./gradlew build
2022-07-23 20:28:06 +00:00
- name: code-analysis
2022-07-23 20:39:48 +00:00
image: mingc/android-build-box:latest
2022-07-23 20:28:06 +00:00
failure: ignore
commands:
- ls -la
- ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN
environment:
SONAR_HOST_URL:
from_secret: sonarScannerHostUrl
SONAR_LOGIN:
from_secret: sonarScannerLogin