From d0b00a63a7b8e55a1e13468e449187b536a016fa Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 17 Jan 2025 15:27:22 +0100 Subject: [PATCH] ci/android: fix pulling results from Android device Add a trailing dot to the remote directoyy in the `adb pull` command to make sure to recursively pull only the **content** of the directory and not the directory itself. This prevents having `results/results/` in the artifacts. Part-of: --- .gitlab-ci/cuttlefish-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/cuttlefish-runner.sh b/.gitlab-ci/cuttlefish-runner.sh index 01738b37137..13058781064 100755 --- a/.gitlab-ci/cuttlefish-runner.sh +++ b/.gitlab-ci/cuttlefish-runner.sh @@ -207,7 +207,7 @@ EXIT_CODE=$? set -e section_switch cuttlefish_results "cuttlefish: gathering the results" -$ADB pull $AOSP_RESULTS $RESULTS_DIR +$ADB pull "$AOSP_RESULTS/." "$RESULTS_DIR" section_end cuttlefish_results exit $EXIT_CODE