aboutsummaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-10-13 15:59:06 +0000
committerLusheng Ji <lji@research.att.com>2017-10-13 15:59:15 +0000
commitb004cbc5f697c6c6f5011eab66115c584a732766 (patch)
tree7b0a93493ea29f9b5ef23460ffe0718bb9d5d91e /mvn-phase-script.sh
parent13c16b374b01315275979f31e6709ffadd05dff3 (diff)
Fix blueprint push location
Issue-Id: DCAEGEN2-128 Change-Id: Icc62dd8c10101b57cdde3d98bbfd6cc6c189055d Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 184ac99..3da3e01 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -115,7 +115,11 @@ install)
;;
deploy)
echo "==> deploy phase script"
- upload_files_of_extension yaml
+ if [ -z "$MVN_PROJECT_MODULEID" ]; then
+ upload_files_of_extension yaml
+ else
+ upload_files_of_extension yaml "$MVN_PROJECT_MODULEID"
+ fi
;;
*)
echo "==> unprocessed phase"