From ca614ea97d750986588360f6e03fbf32a49f857b Mon Sep 17 00:00:00 2001 From: caviedesj Date: Fri, 23 Jan 2026 11:19:40 +0100 Subject: [PATCH] Fix. Syntax when checking the vcluster status in the e2e testing Change-Id: I45e462b04cb14f4bcda20f22f54f5c52d753d0bf Signed-off-by: caviedesj --- jenkins/ci-pipelines/ci_e2e_tests.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/ci-pipelines/ci_e2e_tests.groovy b/jenkins/ci-pipelines/ci_e2e_tests.groovy index c3c7d43c..c65891d4 100644 --- a/jenkins/ci-pipelines/ci_e2e_tests.groovy +++ b/jenkins/ci-pipelines/ci_e2e_tests.groovy @@ -568,7 +568,7 @@ void create_vcluster(String dockerRegistryUrl, String tagName, String kubeconfig entry: '/bin/sh', envVars: envs, mounts: mounts, - cmd: '''-c "vcluster list --output json | jq -r ".[] | select(.Name==\"''' + vclusterName + '''\") | .Status\"''' + cmd: """-c 'vcluster list --output json | jq -r ".[] | select(.Name==\\"${vclusterName}\\") | .Status"'""" ).trim() } catch (Exception e) { println("Polling command failed: ${e.message}. Will retry.") -- 2.25.1