Merge pull request #1701 from nextcloud/gradle-log-plain

Gradle should log plain
This commit is contained in:
Andy Scherzinger 2021-11-18 09:31:54 +01:00 committed by GitHub
commit 1ef400c55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ steps:
- name: generic
image: nextcloudci/android:android-44
commands:
- ./gradlew assembleGeneric
- ./gradlew --console=plain assembleGeneric
trigger:
branch:
@ -22,7 +22,7 @@ steps:
- name: gplay
image: nextcloudci/android:android-44
commands:
- ./gradlew assembleGplay
- ./gradlew --console=plain assembleGplay
trigger:
branch:

View File

@ -47,16 +47,16 @@ require 'xmlsimple'
# run FindBugs
puts "running FindBugs..."
system './gradlew assembleGplayDebug 1>/dev/null'
system './gradlew --console=plain assembleGplayDebug 1>/dev/null'
# confirm that assemble ran w/out error
result = $?.to_i
if result != 0
puts "FAIL: failed to run ./gradlew assembleGplayDebug"
puts "FAIL: failed to run ./gradlew --console=plain assembleGplayDebug"
exit 1
end
system './gradlew spotbugsGplayDebugReport 1>/dev/null 2>&1'
system './gradlew --console=plain spotbugsGplayDebugReport 1>/dev/null 2>&1'
# find FindBugs report file
findbugs_reports = Dir.glob(FINDBUGS_REPORT_FILE)

View File

@ -56,12 +56,12 @@ end
# run Lint
puts "running Lint..."
system './gradlew clean lintGplayDebug'
system './gradlew --console=plain clean lintGplayDebug'
# confirm that Lint ran w/out error
result = $?.to_i
if result != 0
puts "FAIL: failed to run ./gradlew clean lintGplayDebug"
puts "FAIL: failed to run ./gradlew --console=plain clean lintGplayDebug"
exit 1
end