From 73edff76c53e9a6dddf86de6ad9a7c4428e0c537 Mon Sep 17 00:00:00 2001 From: Chanvin Xiao Date: Sat, 18 Jan 2025 12:54:42 +0800 Subject: [PATCH] Remove redundant folder tmp for files.txt --- jekyll/_cci2/rerun-failed-tests.adoc | 2 +- jekyll/_cci2/use-the-circleci-cli-to-split-tests.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jekyll/_cci2/rerun-failed-tests.adoc b/jekyll/_cci2/rerun-failed-tests.adoc index 5c26bf29e94..7223065befe 100644 --- a/jekyll/_cci2/rerun-failed-tests.adoc +++ b/jekyll/_cci2/rerun-failed-tests.adoc @@ -518,7 +518,7 @@ Example: - run: command: | circleci tests glob "src/**/*js" | circleci tests run --command=">files.txt xargs echo" --verbose --split-by=timings #split-by=timings is optional - [ -s tmp/files.txt ] || circleci-agent step halt #if a re-run and there are no tests to re-run for this parallel run, stop execution + [ -s files.txt ] || circleci-agent step halt #if a re-run and there are no tests to re-run for this parallel run, stop execution - run: name: Run tests diff --git a/jekyll/_cci2/use-the-circleci-cli-to-split-tests.adoc b/jekyll/_cci2/use-the-circleci-cli-to-split-tests.adoc index 1cc08340165..f885d835dab 100644 --- a/jekyll/_cci2/use-the-circleci-cli-to-split-tests.adoc +++ b/jekyll/_cci2/use-the-circleci-cli-to-split-tests.adoc @@ -418,7 +418,7 @@ jobs: - run: command: | circleci tests glob "src/**/*js" | circleci tests run --command=">files.txt xargs echo" --verbose --split-by=timings #split-by=timings is optional - [ -s tmp/files.txt ] || circleci-agent step halt #if a re-run and there are no tests to re-run for this parallel run, stop execution + [ -s files.txt ] || circleci-agent step halt #if a re-run and there are no tests to re-run for this parallel run, stop execution - run: name: Run tests