Frank850923
11/10/2019 - 10:31 AM

build_and_deploy_shell_liberty_script

#!/usr/bin/env bash
set -o errexit
set -o nounset
#set -o xtrace

artifact_name="stella-db-monitor"
type="war"
artefact_path="target/"$artifact_name"."$type
install_directory="/mnt/c/Utvpgm/ApplikationServer/IBM/Liberty19/wlp/usr/servers/defaultServer/dropins"

mvn clean package -e
rm $install_directory"/"$artifact_name"."$type
sleep 2
cp $artefact_path $install_directory