ci: Add an escape character before UPGRADE_VERSION

Since UPGRADE_VERSION is not a groovy variable, adding an
escape character is required for proper execution of
upgrade-testing job.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-09-22 16:59:55 +05:30 committed by mergify[bot]
parent 01de4eacfc
commit e2e7ffa2d4

View File

@ -106,7 +106,7 @@ node('cico-workspace') {
if ("${test_type}" == "cephfs"){
upgrade_args = "--test-cephfs=true --test-rbd=false --upgrade-testing=true"
}
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && source build.env && scripts/travis-functest.sh ${k8s_release} --upgrade-version=${UPGRADE_VERSION} ${upgrade_args}"
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && source build.env && scripts/travis-functest.sh ${k8s_release} --upgrade-version=\${UPGRADE_VERSION} ${upgrade_args}"
}
}
}