laforge submitted this change.
jobs/ttcn3-testsuites-testenv: no rm on error
Do not delete the cache dir if testenv returns with error, so we can
inspect it. Keep the linux kernel too, it doesn't make much of a size
difference and makes the code slightly simpler.
Change-Id: Icdd84204253ff94ac650fbeb2b3ad74e16d89dd4
---
M jobs/ttcn3-testsuites-testenv.yml
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/jobs/ttcn3-testsuites-testenv.yml b/jobs/ttcn3-testsuites-testenv.yml
index 0596321..dc5892b 100644
--- a/jobs/ttcn3-testsuites-testenv.yml
+++ b/jobs/ttcn3-testsuites-testenv.yml
@@ -597,7 +597,9 @@
# Free up space from downloaded apt packages, build artifacts etc.
# The osmo-ttcn3-hacks deps dir and ccache are persistent.
- rm -rf _cache .linux
+ if [ "$RC" = 0 ]; then
+ rm -rf _cache .linux
+ fi
uptime | grep --color=always -o "load.*"
exit $RC
To view, visit change 40345. To unsubscribe, or for help writing mail filters, visit settings.