summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-07-13 19:50:37 +0200
committercyBerta <cyberta@riseup.net>2019-07-13 19:50:37 +0200
commitdcd9f26df732a4868f618b5f4ae9fa411ce7a92c (patch)
treefba81ea4ba62c72095c9803aa2271fc6a2a4b80c /.gitlab-ci.yml
parentdb2af80d1a08781e77c4c700e8540d349bc6a65a (diff)
pipe CI output for builds into log files
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba0569ec..2a893a5b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,38 +97,40 @@ build:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build
script:
- - ./cleanGit.sh
- ./cleanProject.sh
- ./build_deps.sh
- - ./gradlew clean assembleDebug --stacktrace
+ - ./gradlew clean assembleDebug --stacktrace >> build.log 2>&1
artifacts:
paths:
- app/build/outputs/
+ - build.log
build_release:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build
script:
- - ./cleanGit.sh
- ./cleanProject.sh
- ./build_deps.sh
- - ./gradlew assembleNormalProductionRelease --stacktrace
- - ./gradlew assembleNormalProductionBeta --stacktrace
+ - ./gradlew clean assembleNormalProductionRelease --stacktrace >> productionRelease.log 2>&1
+ - ./gradlew clean assembleNormalProductionBeta --stacktrace >> productionBeta.log 2>&1
artifacts:
paths:
- app/build/outputs/
+ - productionRelease.log
+ - productionBeta.log
when: manual
build_custom_release:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build
script:
- - ./cleanGit.sh
- ./cleanProject.sh
- ./build_deps.sh
- - ./gradlew assembleCustomProductionRelease --stacktrace
- - ./gradlew assembleCustomProductionBeta --stacktrace
+ - ./gradlew clean assembleCustomProductionRelease --stacktrace >> productionRelease.log 2>&1
+ - ./gradlew clean assembleCustomProductionBeta --stacktrace >> productionBeta.log 2>&1
artifacts:
paths:
- app/build/outputs/
+ - productionRelease.log
+ - productionBeta.log
when: manual