21 lines
767 B
YAML
Raw Permalink Normal View History

2022-07-23 22:28:06 +02:00
kind: pipeline
type: docker
2022-08-17 10:43:56 +02:00
name: android
2022-07-23 22:28:06 +02:00
steps:
- name: code-analysis
2022-07-23 22:39:48 +02:00
image: mingc/android-build-box:latest
2022-07-23 22:28:06 +02:00
failure: ignore
commands:
- ls -la
2022-08-17 14:52:03 +02:00
- ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\""
2022-07-23 22:28:06 +02:00
environment:
SONAR_HOST_URL:
from_secret: sonarScannerHostUrl
SONAR_LOGIN:
from_secret: sonarScannerLogin
- name: build
image: mingc/android-build-box:latest
commands:
2022-08-19 22:30:27 +02:00
- ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false