summaryrefslogtreecommitdiffstats
path: root/deliveries/os_build_febe.sh
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-07-13 17:04:39 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-07-13 17:05:50 -0400
commitc67680ada04c96a1753c037d67080c65628d32ca (patch)
tree86d3bf466699165b1eba6ee47d8e223a26156cd9 /deliveries/os_build_febe.sh
parentd332e89eb9bbaf280604c61715422dde3542813c (diff)
[PORTAL-31] Repair defects in deployment
Includes docker build failures and footer icon Change-Id: I293f2767f36ab3fe824d8143e58e14dc2119c13e Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'deliveries/os_build_febe.sh')
-rwxr-xr-xdeliveries/os_build_febe.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/deliveries/os_build_febe.sh b/deliveries/os_build_febe.sh
index 18cfc374..c9110892 100755
--- a/deliveries/os_build_febe.sh
+++ b/deliveries/os_build_febe.sh
@@ -4,9 +4,15 @@ set -e -x
source $(dirname $0)/os_settings.sh
+# Work standalone and in Jenkins.
+# Pick up Jenkins settings for this script.
# Use -B for batch operation to skip download progress output
-export MVN="${MVN} -gs ${GLOBAL_SETTINGS_FILE} -s ${SETTINGS_FILE} -B"
-#MVN=mvn
+if [ -n "$MVN" ]; then
+ export MVN="${MVN} -gs ${GLOBAL_SETTINGS_FILE} -s ${SETTINGS_FILE} -B"
+else
+ MVN=mvn
+fi
+
CURRENTDIR="$(pwd)"
# install ecomp portal
@@ -55,7 +61,7 @@ cp -r dmaapbc/dcae_dmaapbc_webapp $DBCDIR/dcae_dmaapbc_webapp
cd $DBCDIR/dcae_dmaapbc_webapp
${MVN} install
cd dbca-os/target
-mv dmaap-bc-app-os-1.1.0-SNAPSHOT ep-dbc-app
+mv dmaap-bc-app-os ep-dbc-app
# Build complete database script in the "OS" script area
cd ../db-scripts