diff options
author | 2016-04-14 17:11:37 +0200 | |
---|---|---|
committer | 2016-04-14 17:11:37 +0200 | |
commit | 4521d6c11c11bf23faa2f6bc5a8d2e65dc198a29 (patch) | |
tree | 5bd6cc86beab644ab4b5471442eb8e33a3e69d20 /jjb/functest/functest-ci-jobs.yml | |
parent | 49b37a3df8a012f678dd5f1b7278e7218f734175 (diff) |
Fix Docker TAG in Functest job
Change-Id: Id02ff937246c946372e00834b3accd80f760fef7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest/functest-ci-jobs.yml')
-rw-r--r-- | jjb/functest/functest-ci-jobs.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index 74f00f836..cb9d28950 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:latest' | 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:latest' | 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 |