From afea1bfb32d4218af19b5368588b4c91a5ec7793 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 13 Jul 2019 20:35:00 +0200 Subject: pipe build_deps.sh logs into file --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3