mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
publish log files as artifacts when emulator job fails
This commit is contained in:
@@ -34,9 +34,17 @@ android test:
|
|||||||
- start-emulator.sh
|
- start-emulator.sh
|
||||||
# run normal and screenshot tests together (exclude Large tests)
|
# run normal and screenshot tests together (exclude Large tests)
|
||||||
- ./gradlew -Djava.security.egd=file:/dev/urandom connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest
|
- ./gradlew -Djava.security.egd=file:/dev/urandom connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest
|
||||||
|
artifacts:
|
||||||
|
name: "${CI_PROJECT_PATH}_${CI_JOB_STAGE}_${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHA}"
|
||||||
|
paths:
|
||||||
|
- kernel.log
|
||||||
|
- logcat.txt
|
||||||
|
expire_in: 3 days
|
||||||
|
when: on_failure
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
|
- branches
|
||||||
changes:
|
changes:
|
||||||
- briar-android/**/*
|
- briar-android/**/*
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user