Use bash to launch reclaim space script

See gh-42776
This commit is contained in:
Phillip Webb 2024-10-17 20:50:20 -07:00
parent 6825fec37c
commit a61993cdd2
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public class DockerTestPlugin implements Plugin<Project> {
task.setDescription("Reclaims Docker space on CI.");
task.shouldRunAfter(DOCKER_TEST_TASK_NAME);
task.onlyIf(this::shouldReclaimDockerSpace);
task.executable("sh");
task.executable("bash");
task.args("-c",
project.getRootDir()
.toPath()