Fix. Syntax when checking the vcluster status in the e2e testing

Change-Id: I45e462b04cb14f4bcda20f22f54f5c52d753d0bf
Signed-off-by: caviedesj <juancamilo.caviedesvalencia.ext@telefonica.com>
diff --git a/jenkins/ci-pipelines/ci_e2e_tests.groovy b/jenkins/ci-pipelines/ci_e2e_tests.groovy
index c3c7d43..c65891d 100644
--- a/jenkins/ci-pipelines/ci_e2e_tests.groovy
+++ b/jenkins/ci-pipelines/ci_e2e_tests.groovy
@@ -568,7 +568,7 @@
                 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.")