summaryrefslogtreecommitdiffstats
path: root/jjb/qtip/qtip.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/qtip/qtip.yml')
-rw-r--r--jjb/qtip/qtip.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/qtip/qtip.yml b/jjb/qtip/qtip.yml
index c442c6cd9..9c627b8af 100644
--- a/jjb/qtip/qtip.yml
+++ b/jjb/qtip/qtip.yml
@@ -137,6 +137,9 @@
builders:
- shell: |
#!/bin/bash
+ echo "The container id is:"
+ container_id=$(docker ps | grep 'opnfv/qtip:latest' | awk '{print $1}' | head -1)
+ echo $container_id
QTIP_REPO=/home/opnfv/repos/qtip
docker exec -t ${container_id} $QTIP_REPO/docker/run_qtip.sh
@@ -151,9 +154,9 @@
# Remove previous running containers if exist
if [[ ! -z $(docker ps -a | grep opnfv/qtip) ]]; then
echo "Removing existing opnfv/qtip containers..."
- running_containers= $(docker ps | grep opnfv/qtip | awk '{print $1}')
+ running_containers=$(docker ps | grep opnfv/qtip | awk '{print $1}')
docker stop ${running_containers}
- all_containers= $(docker ps -a | grep opnfv/qtip | awk '{print $1}')
+ all_containers=$(docker ps -a | grep opnfv/qtip | awk '{print $1}')
docker rm ${all_containers}
fi