Add Android Lint to SonarCloud

This commit is contained in:
Kirill Kamakin
2022-05-28 11:58:42 +02:00
parent 74499ec2e5
commit 7b9c0b727e
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ jobs:
echo "storePassword=$MEALIENT_KEY_STORE_PASSWORD" >> keystore.properties
echo "keyAlias=$MEALIENT_KEY_ALIAS" >> keystore.properties
echo "keyPassword=$MEALIENT_KEY_PASSWORD" >> keystore.properties
./gradlew assembleRelease sonarqube --no-daemon
./gradlew assembleRelease lint sonarqube --no-daemon
cp app/build/outputs/apk/release/*.apk mealient-release.apk
- name: Upload signed APK

View File

@@ -227,5 +227,6 @@ sonarqube {
property "sonar.projectKey", "kirmanak_Mealient"
property "sonar.organization", "kirmanak"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.androidLint.reportPaths", "**/build/reports/lint-results-*.xml"
}
}