drone-sigh #57

Merged
AmineB merged 24 commits from drone-sigh into master 2022-09-14 10:32:01 +00:00
Showing only changes of commit 8efe126797 - Show all commits

View File

@ -3,22 +3,10 @@ type: docker
name: test
steps:
- name: code-analysis
image: mingc/android-build-box:latest
failure: ignore
- name: createTag
image: ubuntu:latest
commands:
- ls -la
- ./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\""
environment:
SONAR_HOST_URL:
from_secret: sonarScannerHostUrl
SONAR_LOGIN:
from_secret: sonarScannerLogin
- name: build
image: mingc/android-build-box:latest
commands:
- ./gradlew :androidApp:build -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" -P pushCache=false
- echo "toto"
trigger:
event:
- push