Clone the corresponding branch of the repo according to the job branch 49/25249/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 30 Nov 2016 14:42:53 +0000 (15:42 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 30 Nov 2016 14:43:36 +0000 (15:43 +0100)
commita8b879387ea8ff072baa6aaf037c6921e354e736
treee20312331a79b9cbfd2ee86c2005cae6af39b6c5
parent462f25c8e950110a1624909d4f79ef4219005ba2
Clone the corresponding branch of the repo according to the job branch

Make use of the ARG BRANCH given at build time

cmd="docker build --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG
--build-arg BRANCH=$branch ."

Change-Id: I44d342bfa5499ebd119e9147695ea82853eb64b6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
docker/Dockerfile