summaryrefslogtreecommitdiff
path: root/tcwg_kernel-build.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-11-26 19:08:55 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2018-11-26 19:08:55 +0000
commit5cbd5427c0cd2fcfdbb30cdcfee57eadc3bcf19d (patch)
tree61e52d381990692a119e26c1131720f20b29dde4 /tcwg_kernel-build.sh
parent6e8534990c0ebf491c43b9a6f771e5149b5e08d1 (diff)
tcwg_kernel-build.sh: Fix reset_artifacts to not delete artifacts/jenkins .
Change-Id: I32c37e5e8cfdff474aab187ec9985a1177644391
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-xtcwg_kernel-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh
index 964340ac..9474b4b7 100755
--- a/tcwg_kernel-build.sh
+++ b/tcwg_kernel-build.sh
@@ -114,7 +114,7 @@ reset_artifacts ()
find $top_artifacts -maxdepth 2 \
! -path $top_artifacts ! -path $top_artifacts/console.log \
! -path $run_step_artifacts ! -path $run_step_artifacts/console.log \
- ! -path "$top_artifacts/jenkins/*" \
+ ! -path $top_artifacts/jenkins ! -path "$top_artifacts/jenkins/*" \
-print0 | xargs -0 rm -rf
# Set success metric to worst possible (-3).