aboutsummaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
authorSrikanthNaidu <sn8492@att.com>2018-12-10 21:46:40 +0530
committerSrikanthNaidu <sn8492@att.com>2018-12-12 18:45:52 +0530
commit20110ffeb5071193e7b437e797636d9d6318dcd4 (patch)
treeebd4e64715f4cafc7261b2eff9990e4faa53d050 /mvn-phase-script.sh
parent5712f01385eaa05178279aa7e730b3bdde3d1b80 (diff)
Heartbeat Microservice Support
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I21f36056e9509a167bff476231a6bbd661aca1b9 Signed-off-by: SrikanthNaidu <sn8492@att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 6b47ba5..d0d633a 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -76,7 +76,7 @@ echo "MVN_RAWREPO_SERVERID is [$MVN_RAWREPO_SERVERID]"
echo "MVN_DOCKERREGISTRY_DAILY is [$MVN_DOCKERREGISTRY_DAILY]"
echo "MVN_DOCKERREGISTRY_RELEASE is [$MVN_DOCKERREGISTRY_RELEASE]"
-expand_templates()
+expand_templates()
{
# set up env variables, get ready for template resolution
export ONAPTEMPLATE_RAWREPOURL_org_onap_ccsdk_platform_plugins_releases="$MVN_RAWREPO_BASEURL_DOWNLOAD/org.onap.ccsdk.plugins/releases"
@@ -127,8 +127,8 @@ expand_templates()
}
-run_tox_test()
-{
+run_tox_test()
+{
set -x
CURDIR=$(pwd)
TOXINIS=$(find . -name "tox.ini")
@@ -148,7 +148,7 @@ run_tox_test()
done
}
-build_wagons()
+build_wagons()
{
rm -rf ./*.wgn venv-pkg
@@ -174,7 +174,7 @@ build_wagons()
}
-upload_raw_file()
+upload_raw_file()
{
# Extract the username and password to the nexus repo from the settings file
USER=$(xpath -q -e "//servers/server[id='$MVN_RAWREPO_SERVERID']/username/text()" "$SETTINGS_FILE")
@@ -221,7 +221,7 @@ upload_wagons_and_type_yamls()
WAGON_NAME=$(echo "$WAGON" | cut -f1 -d '-')
WAGON_VERSION=$(echo "$WAGON" | cut -f2 -d '-')
WAGON_TYPEFILE=$(grep -rl "$WAGON_NAME" . | grep yaml | head -1)
-
+
upload_raw_file "$WAGON"
upload_raw_file "$WAGON_TYPEFILE"
done
@@ -330,3 +330,4 @@ deploy)
;;
esac
+