From d6b34679e7ee5b12c652dcbc7daee1d95c9e1ff5 Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Wed, 25 Oct 2023 13:03:22 -0400 Subject: [PATCH] IgnoreExitValue for dataflow runner cleanUpDockerJavaImages (#29124) --- runners/google-cloud-dataflow-java/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/runners/google-cloud-dataflow-java/build.gradle b/runners/google-cloud-dataflow-java/build.gradle index e4f34687d31c..9e4d28ae5b4b 100644 --- a/runners/google-cloud-dataflow-java/build.gradle +++ b/runners/google-cloud-dataflow-java/build.gradle @@ -304,6 +304,7 @@ def cleanUpDockerJavaImages = tasks.register("cleanUpDockerJavaImages") { commandLine "docker", "rmi", "--force", "${dockerJavaImageName}" } exec { + ignoreExitValue true commandLine "gcloud", "--quiet", "container", "images", "untag", "${dockerJavaImageName}" } exec {