Clone the corresponding branch of the repo according to the job branch 83/25283/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 30 Nov 2016 14:42:53 +0000 (15:42 +0100)
committerJing Lu <lvjing5@huawei.com>
Thu, 1 Dec 2016 01:23:07 +0000 (01:23 +0000)
commit18a0000d1490177282da98c5e36a566738310c95
treecf098f41fec75010d0e342e0e28edd1e4fb3eeaa
parentbbd5f14bed6844250b80a7def70ced40cdf8a884
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>
(cherry picked from commit a8b879387ea8ff072baa6aaf037c6921e354e736)
docker/Dockerfile