diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-01-12 15:15:23 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-01-12 15:37:11 +0100 |
commit | 2331845c029dda5d3bb4a663c5bd455135723258 (patch) | |
tree | 03fa5d0f582ebece5657d1f04fe5ad1fa74c83f3 /jjb/opnfv | |
parent | 7171b6e1b844baefec214f1b3a10f32b1901b5c0 (diff) |
test: Fix dockerfile path
Change-Id: Ica1cadc79ee6fd7ff96d66b3f4fb798098fad452
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/opnfv')
-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 81bab33bb..02ceecfd8 100644 --- a/jjb/opnfv/opnfv-docker.sh +++ b/jjb/opnfv/opnfv-docker.sh @@ -67,14 +67,14 @@ else exit 1 fi - # Get tag version branch=$(git rev-parse --abbrev-ref HEAD) +echo "Current branch: $branch" + if [ $branch == "master" ]; then DOCKER_TAG="master" else - cd $WORKSPACE - git clone https://gerrit.opnfv.org/gerrit/releng + git clone https://gerrit.opnfv.org/gerrit/releng $WORKSPACE/releng DOCKER_TAG=$($WORKSPACE/releng/utils/calculate_version.sh -t docker \ -n $DOCKER_REPO_NAME) |