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>
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 @@
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"