summaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-04-03 15:07:58 -0400
committerLusheng Ji <lji@research.att.com>2018-04-03 15:18:01 -0400
commit6c11793dc8682bc3e1e47309e2ba39e200599fec (patch)
tree969e31422049ea9484e925cd1bc8243acbed7331 /mvn-phase-script.sh
parentc8f0025f91f03c9281f4b6783c59baf41698010f (diff)
Fix raw artifact push path
Previously all raw artifacts (sh, yaml, etc) are uploaded to raw repo under the same location. This change instead pushes to a path reflecting an artifact's module. Issue-ID: DCAEGEN2-206 Change-Id: I28c76583b5a6793b384b4955962d23e564ed4d49 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index b9f99eb..9897d5e 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -86,11 +86,11 @@ deploy)
k8s-bootstrap-container|tca-cdap-container|cm-container|redis-cluster-container)
build_and_push_docker
;;
- scripts|cloud_init)
+ scripts|cloud_init|heat)
# upload all sh file under the root of module
- upload_files_of_extension_recursively sh
- upload_files_of_extension_recursively py
- upload_files_of_extension_recursively yaml
+ upload_files_of_extension_recursively sh $MVN_PROJECT_MODULEID
+ upload_files_of_extension_recursively py $MVN_PROJECT_MODULEID
+ upload_files_of_extension_recursively yaml $MVN_PROJECT_MODULEID
;;
*)
echo "====> unknown mvn project module"