mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Merge pull request #1701 from nextcloud/gradle-log-plain
Gradle should log plain
This commit is contained in:
commit
1ef400c55a
@ -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:
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user