From 789ef0b20bd264f9adf849e7fcc04e3bbb4df429 Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Wed, 3 Apr 2019 23:00:13 -0700 Subject: [PATCH] fix(circleci): do not delete ``command.txt`` from workdir --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 572dece9d..4b0aa8a7c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -313,7 +313,7 @@ jobs: - run: name: Clean-up work directory (just leave reports & commandlines) command: | - find /tmp/t1w/work -type f ! -name "report.rst" ! -name "command.txt" -delete + find /tmp/t1w/work -type f -not -name "report.rst" -and -not -name "command.txt" -delete - store_artifacts: path: /tmp/t1w/work @@ -434,7 +434,7 @@ jobs: - run: name: Clean-up work directory (just leave reports & commandlines) command: | - find /tmp/bold/work -type f ! -name "report.rst" ! -name "command.txt" -delete + find /tmp/bold/work -type f -not -name "report.rst" -and -not -name "command.txt" -delete - store_artifacts: path: /tmp/bold/work