summaryrefslogtreecommitdiffstats
path: root/mvn-phase-lib.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-09-12 03:41:15 +0000
committerLusheng Ji <lji@research.att.com>2017-09-12 03:41:21 +0000
commit39932a1a6edad84b3439de9066268a6c93ed2e03 (patch)
tree4e9da181be0a3f65c76a84fef106bcfc74f92d90 /mvn-phase-lib.sh
parent5e111842ce1d538dcbe412375962a71f009f467d (diff)
Fix docker build path
Issue-Id: DCAEGEN2-60 Change-Id: I4cc9a8ec3eb10d91ade090b29251cfdce7f6665b Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-lib.sh')
-rwxr-xr-xmvn-phase-lib.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh
index 2a924f7..6eb4b38 100755
--- a/mvn-phase-lib.sh
+++ b/mvn-phase-lib.sh
@@ -237,9 +237,8 @@ build_and_push_docker()
VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.')
LFQI="${IMAGENAME}:${VERSION}-${TIMESTAMP}"
- BUILD_PATH="${WORKSPACE}"
# build a docker image
- docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}"
+ docker build --rm -f ./Dockerfile -t "${LFQI}" ./
REPO=""
if [ $MVN_DEPLOYMENT_TYPE == "SNAPSHOT" ]; then