diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2015-11-27 14:33:13 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2015-11-27 14:34:35 +0100 |
commit | 8497802454f4ad053155cac0d5972e7abf2309d8 (patch) | |
tree | 319fc80e8daa4f6097e6d122dff48cc5e276d9e3 /jjb | |
parent | 875ef9816810ee2f1119528ca18f881d76497d2f (diff) |
Remove additional brackets from docker job.
Change-Id: I7c3003272326bb1bbbe1b7d9331ac690841a7c21
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/opnfv/opnfv-docker.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/opnfv/opnfv-docker.sh b/jjb/opnfv/opnfv-docker.sh index 030144457..2b42938c0 100644 --- a/jjb/opnfv/opnfv-docker.sh +++ b/jjb/opnfv/opnfv-docker.sh @@ -29,7 +29,7 @@ if [[ ! -z $(docker images | grep $DOCKER_REPO_NAME) ]]; then fi # If we just want to update the latest_stable image -if [[ [ "$UPDATE_LATEST_STABLE" == "true" ] ]]; then +if [[ "$UPDATE_LATEST_STABLE" == "true" ]]; then echo "Pulling $DOCKER_REPO_NAME:$STABLE_TAG ..." docker pull $DOCKER_REPO_NAME:$STABLE_TAG if [[ $? -ne 0 ]]; then @@ -81,7 +81,7 @@ echo "Available images are:" docker images # Push image to Dockerhub -if [ "$PUSH_IMAGE" == "true" ]; then +if [[ "$PUSH_IMAGE" == "true" ]]; then echo "Pushing $DOCKER_REPO_NAME:$DOCKER_TAG to the docker registry..." echo "--------------------------------------------------------" echo @@ -90,4 +90,4 @@ if [ "$PUSH_IMAGE" == "true" ]; then echo "Updating $DOCKER_REPO_NAME:latest to the docker registry..." docker push $DOCKER_REPO_NAME:latest -fi
\ No newline at end of file +fi |