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 - name: generic
image: nextcloudci/android:android-44 image: nextcloudci/android:android-44
commands: commands:
- ./gradlew assembleGeneric - ./gradlew --console=plain assembleGeneric
trigger: trigger:
branch: branch:
@ -22,7 +22,7 @@ steps:
- name: gplay - name: gplay
image: nextcloudci/android:android-44 image: nextcloudci/android:android-44
commands: commands:
- ./gradlew assembleGplay - ./gradlew --console=plain assembleGplay
trigger: trigger:
branch: branch:

View File

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

View File

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