aboutsummaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-08-08 16:07:31 -0400
committerLusheng Ji <lji@research.att.com>2018-08-08 16:08:00 -0400
commit0bebf68a7d7846ea22d7c1fe170ee434210f0318 (patch)
treeb9d411f62ed3b8d48a63ef780468b2baeaa5248c /mvn-phase-script.sh
parentac8ab5a014ae9e7b55dc3256fb2c5fa96086ee86 (diff)
Fix docker container build
Issue-ID: DCAEGEN2-562 Change-Id: Id66dc7c40bcdb4d492f7c0e801668764fe1a9171 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 64630ab..a8712d1 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -69,7 +69,10 @@ install)
;;
deploy)
echo "==> deploy phase script"
+ TMPPWD="$(pwd)"
+ cd ${PROJECT_ROOT}
build_and_push_docker
+ cd ${TMPPWD}
;;
*)
echo "==> unprocessed phase"