summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmvn-phase-lib.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh
index 2a924f7d..9de7cced 100755
--- a/mvn-phase-lib.sh
+++ b/mvn-phase-lib.sh
@@ -237,9 +237,12 @@ build_and_push_docker()
VERSION2=$(echo "$VERSION" | cut -f1-2 -d'.')
LFQI="${IMAGENAME}:${VERSION}-${TIMESTAMP}"
- BUILD_PATH="${WORKSPACE}"
+ #BUILD_PATH="${WORKSPACE}"
# build a docker image
- docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}"
+ #docker build --rm -f "${WORKSPACE}"/Dockerfile -t "${LFQI}" "${BUILD_PATH}"
+ #BUILD_PATH="${WORKSPACE}"
+ # build a docker image
+ docker build --rm -f ./Dockerfile -t "${LFQI}" ./
REPO=""
if [ $MVN_DEPLOYMENT_TYPE == "SNAPSHOT" ]; then