Skip to content
Snippets Groups Projects
Commit dcd9f26d authored by cyberta's avatar cyberta
Browse files

pipe CI output for builds into log files

parent db2af80d
Branches
Tags
No related merge requests found
...@@ -97,38 +97,40 @@ build: ...@@ -97,38 +97,40 @@ build:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest" image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build stage: build
script: script:
- ./cleanGit.sh
- ./cleanProject.sh - ./cleanProject.sh
- ./build_deps.sh - ./build_deps.sh
- ./gradlew clean assembleDebug --stacktrace - ./gradlew clean assembleDebug --stacktrace >> build.log 2>&1
artifacts: artifacts:
paths: paths:
- app/build/outputs/ - app/build/outputs/
- build.log
build_release: build_release:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest" image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build stage: build
script: script:
- ./cleanGit.sh
- ./cleanProject.sh - ./cleanProject.sh
- ./build_deps.sh - ./build_deps.sh
- ./gradlew assembleNormalProductionRelease --stacktrace - ./gradlew clean assembleNormalProductionRelease --stacktrace >> productionRelease.log 2>&1
- ./gradlew assembleNormalProductionBeta --stacktrace - ./gradlew clean assembleNormalProductionBeta --stacktrace >> productionBeta.log 2>&1
artifacts: artifacts:
paths: paths:
- app/build/outputs/ - app/build/outputs/
- productionRelease.log
- productionBeta.log
when: manual when: manual
build_custom_release: build_custom_release:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest" image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build stage: build
script: script:
- ./cleanGit.sh
- ./cleanProject.sh - ./cleanProject.sh
- ./build_deps.sh - ./build_deps.sh
- ./gradlew assembleCustomProductionRelease --stacktrace - ./gradlew clean assembleCustomProductionRelease --stacktrace >> productionRelease.log 2>&1
- ./gradlew assembleCustomProductionBeta --stacktrace - ./gradlew clean assembleCustomProductionBeta --stacktrace >> productionBeta.log 2>&1
artifacts: artifacts:
paths: paths:
- app/build/outputs/ - app/build/outputs/
- productionRelease.log
- productionBeta.log
when: manual when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment