summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-04-14 17:42:52 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-04-14 17:46:06 +0200
commit134fb610c0347cb35de43b25b0d62b1731a9f487 (patch)
tree62d036105c4e163899fa264ec3e92bceb51fb955 /jjb/functest
parent4521d6c11c11bf23faa2f6bc5a8d2e65dc198a29 (diff)
Functest job single quotes typo
Change-Id: I9b08704dc8a02197ec72a8c03faafc36aaa68a8e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest-ci-jobs.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml
index cb9d28950..e2b9a1049 100644
--- a/jjb/functest/functest-ci-jobs.yml
+++ b/jjb/functest/functest-ci-jobs.yml
@@ -278,7 +278,7 @@
${cmd} >${redirect}
docker ps -a
sleep 5
- container_id=$(docker ps | grep 'opnfv/functest:$DOCKER_TAG' | awk '{print $1}' | head -1)
+ container_id=$(docker ps | grep "opnfv/functest:${DOCKER_TAG}" | awk '{print $1}' | head -1)
echo "Container ID=${container_id}"
if [ -z ${container_id} ]; then
echo "Cannot find opnfv/functest container ID ${container_id}. Please check if it is existing."
@@ -289,7 +289,7 @@
docker start ${container_id}
sleep 5
docker ps
- if [ $(docker ps | grep 'opnfv/functest:$DOCKER_TAG' | wc -l) == 0 ]; then
+ if [ $(docker ps | grep "opnfv/functest:${DOCKER_TAG}" | wc -l) == 0 ]; then
echo "The container opnfv/functest with ID=${container_id} has not been properly started. Exiting..."
exit 1
fi