Skip to content

Commit

Permalink
Added storing "screencap.png" to CI artifacts if a task will fail.| #…
Browse files Browse the repository at this point in the history
  • Loading branch information
DenBond7 committed Apr 2, 2021
1 parent 69e141a commit 2713bfa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,10 @@ blocks:
commands:
# store tests results
- echo "Store tests results"
- artifact push job --expire-in 1w FlowCrypt/build/reports/
- artifact push job --expire-in 1w FlowCrypt/build/reports/

# store the device's screenshot. it may help to debug a failure
- echo "Store the device's screenshot"
- adb shell screencap -p /sdcard/screencap.png
- adb pull "/sdcard/screencap.png"
- artifact push job --expire-in 1w screencap.png

0 comments on commit 2713bfa

Please sign in to comment.