mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2025-12-23 22:30:03 -05:00
ci: redirect all build logs to files; without terminal output
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
This commit is contained in:
@@ -151,8 +151,8 @@ build-apk:
|
||||
script:
|
||||
- mkdir -vp "$CI_PROJECT_DIR/artifacts/logs"
|
||||
- BUILD_LOG_FILE="$CI_PROJECT_DIR/artifacts/logs/build-apk-$BUILD_VARIANT.log"
|
||||
- echo "Building APK..." | tee -a "$BUILD_LOG_FILE"
|
||||
- bash -x scripts/ci-build.sh | tee -a "$BUILD_LOG_FILE"
|
||||
- echo "Building APK..." > "$BUILD_LOG_FILE" 2>&1
|
||||
- bash -x scripts/ci-build.sh >> "$BUILD_LOG_FILE" 2>&1
|
||||
artifacts:
|
||||
untracked: false
|
||||
when: always
|
||||
@@ -193,8 +193,8 @@ build-bundle:
|
||||
script:
|
||||
- mkdir -vp "$CI_PROJECT_DIR/artifacts/logs"
|
||||
- BUILD_LOG_FILE="$CI_PROJECT_DIR/artifacts/logs/build-bundle.log"
|
||||
- echo "Building Bundle..." | tee -a "$BUILD_LOG_FILE"
|
||||
- bash -x scripts/ci-build.sh | tee -a "$BUILD_LOG_FILE"
|
||||
- echo "Building Bundle..." > "$BUILD_LOG_FILE" 2>&1
|
||||
- bash -x scripts/ci-build.sh >> "$BUILD_LOG_FILE" 2>&1
|
||||
artifacts:
|
||||
untracked: false
|
||||
when: always
|
||||
|
||||
Reference in New Issue
Block a user