From 78976616acc9c9d92fa5d8d1acd98aa46232498d Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 5 Aug 2020 14:42:42 +0530 Subject: [PATCH] ci: add single quotes for namespace var added single quotes for namespace variable Signed-off-by: Madhu Rajanna --- mini-e2e-helm.groovy | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mini-e2e-helm.groovy b/mini-e2e-helm.groovy index a25ff3d1f..8d8634768 100644 --- a/mini-e2e-helm.groovy +++ b/mini-e2e-helm.groovy @@ -55,20 +55,19 @@ node('cico-workspace') { stage('deploy ceph-csi through helm') { timeout(time: 30, unit: 'MINUTES') { ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh up' - ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi ${namespace}' + ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi '${namespace}'" } } stage('run e2e') { timeout(time: 60, unit: 'MINUTES') { - ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e NAMESPACE="${namespace}" E2E_ARGS="--deploy-cephfs=false --deploy-rbd=false"' + ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e NAMESPACE='${namespace}' E2E_ARGS='--deploy-cephfs=false --deploy-rbd=false'" } } stage('cleanup ceph-csi deployment') { timeout(time: 30, unit: 'MINUTES') { - ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh cleanup-cephcsi ${namespace}' + ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh cleanup-cephcsi '${namespace}'" ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh clean' - ssh 'kubectl delete namespace ${namespace}' - } + ssh "kubectl delete namespace '${namespace}'" } } }