summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-07-13 20:35:00 +0200
committercyBerta <cyberta@riseup.net>2019-07-13 20:35:00 +0200
commitafea1bfb32d4218af19b5368588b4c91a5ec7793 (patch)
tree6b287edf9505a6730f6af2974577183781a47c45
parentdcd9f26df732a4868f618b5f4ae9fa411ce7a92c (diff)
pipe build_deps.sh logs into file
-rw-r--r--.gitlab-ci.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a893a5b..69ae4ca5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,11 +98,12 @@ build:
stage: build
script:
- ./cleanProject.sh
- - ./build_deps.sh
+ - ./build_deps.sh >> build_deps.log 2>&1
- ./gradlew clean assembleDebug --stacktrace >> build.log 2>&1
artifacts:
paths:
- app/build/outputs/
+ - build_deps.log
- build.log
build_release:
@@ -110,7 +111,7 @@ build_release:
stage: build
script:
- ./cleanProject.sh
- - ./build_deps.sh
+ - ./build_deps.sh >> build_deps.log 2>&1
- ./gradlew clean assembleNormalProductionRelease --stacktrace >> productionRelease.log 2>&1
- ./gradlew clean assembleNormalProductionBeta --stacktrace >> productionBeta.log 2>&1
artifacts:
@@ -118,6 +119,7 @@ build_release:
- app/build/outputs/
- productionRelease.log
- productionBeta.log
+ - build_deps.log
when: manual
build_custom_release:
@@ -125,7 +127,7 @@ build_custom_release:
stage: build
script:
- ./cleanProject.sh
- - ./build_deps.sh
+ - ./build_deps.sh >> build_deps.log 2>&1
- ./gradlew clean assembleCustomProductionRelease --stacktrace >> productionRelease.log 2>&1
- ./gradlew clean assembleCustomProductionBeta --stacktrace >> productionBeta.log 2>&1
artifacts:
@@ -133,4 +135,5 @@ build_custom_release:
- app/build/outputs/
- productionRelease.log
- productionBeta.log
+ - build_deps.log
when: manual