ci: use double quotes for variables

Using double quotes as variables are
expanded inside them.
The script fails currently as it is
unable to expand the variables.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-08-03 22:55:13 +05:30 committed by mergify[bot]
parent 0f811e9735
commit a71785d0f2

View File

@ -46,9 +46,9 @@ node('cico-workspace') {
// build e2e.test executable // build e2e.test executable
ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-build CONTAINER_CMD=podman TARGET=e2e.test' ssh 'cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-build CONTAINER_CMD=podman TARGET=e2e.test'
} }
stage('deploy k8s v{k8s_version} and rook') { stage("deploy k8s v{k8s_version} and rook") {
timeout(time: 30, unit: 'MINUTES') { timeout(time: 30, unit: 'MINUTES') {
ssh './single-node-k8s.sh --k8s-version=v${k8s_version}' ssh "./single-node-k8s.sh --k8s-version=v${k8s_version}"
} }
} }
stage('run e2e') { stage('run e2e') {