From 5857f87121d772d90781861a6b7135a4d132f6a7 Mon Sep 17 00:00:00 2001 From: Antoine Lambert <antoine.lambert@inria.fr> Date: Tue, 27 Apr 2021 12:08:11 +0200 Subject: [PATCH] templates/swh-pipeline: Prevent BrokenPipe when checking tox sphinx env Related to T3258 --- jobs/templates/swh-pipeline.groovy.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/templates/swh-pipeline.groovy.j2 b/jobs/templates/swh-pipeline.groovy.j2 index d491eec..a0b5073 100644 --- a/jobs/templates/swh-pipeline.groovy.j2 +++ b/jobs/templates/swh-pipeline.groovy.j2 @@ -106,7 +106,7 @@ pipeline { steps { sh ''' - if tox -a | grep -qx sphinx + if tox -a | grep -x sphinx >/dev/null then tox -e sphinx else -- GitLab