summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
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