From: caviedesj Date: Fri, 23 Jan 2026 10:19:40 +0000 (+0100) Subject: Fix. Syntax when checking the vcluster status in the e2e testing X-Git-Tag: v19.0.0~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F15694%2F2;p=osm%2Fdevops.git Fix. Syntax when checking the vcluster status in the e2e testing Change-Id: I45e462b04cb14f4bcda20f22f54f5c52d753d0bf Signed-off-by: caviedesj --- diff --git a/jenkins/ci-pipelines/ci_e2e_tests.groovy b/jenkins/ci-pipelines/ci_e2e_tests.groovy index c3c7d43cd..c65891d49 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.")