aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2018-06-28 10:53:28 +0200
committerHans-Christoph Steiner <hans@eds.org>2018-06-28 12:11:54 +0200
commit1c37c35f4a7107862dfc7f05d81b1a6847e3c0a3 (patch)
tree684b7b65c398ed339c7fb2a30fb7170ebe4dfc50
parent48c77d3b54598f9ee8830f15c640fb4d94b120c8 (diff)
downloadprivileged-extension-1c37c35f4a7107862dfc7f05d81b1a6847e3c0a3.tar.gz
privileged-extension-1c37c35f4a7107862dfc7f05d81b1a6847e3c0a3.tar.bz2
privileged-extension-1c37c35f4a7107862dfc7f05d81b1a6847e3c0a3.zip
gitlab-ci: save debug OTA ZIP as artifact for easy troubleshooting
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3514050..a1c922a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,14 @@ test:
- echo "use versionCode that is known to exist on f-droid.org for test:"
- sed -i 's,versionCode="[^"]*",versionCode="2070",' app/src/main/AndroidManifest.xml
- ./create_ota.sh release binaries
+ artifacts:
+ name: "${CI_PROJECT_PATH}_${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHA}"
+ paths:
+ - app/build/distributions/*-debug.zip
+ expire_in: 2 months
+ when: on_success
+ after_script:
+ - echo "Download debug artifacts from https://gitlab.com/${CI_PROJECT_PATH}/-/jobs"
.connected-template: &connected-template
script: