X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=deliveries%2Fos_build_febe.sh;h=c9110892c73ef1165c7ab5405d2e8d1bf79e1c54;hb=c67680ada04c96a1753c037d67080c65628d32ca;hp=18cfc374051bd0fe58588a5b255ff19eb038d97a;hpb=d332e89eb9bbaf280604c61715422dde3542813c;p=portal.git 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