Created
March 24, 2018 21:18
-
-
Save vitorpacheco/8bb5e4c43285852185444f113e9d4218 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WAS_HOME=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01 | |
EAR=$1 | |
printf "[DEPLOY] --- Gerando versão" | |
printf "\n" | |
mvn -e clean package -DskipTests | |
printf "[DEPLOY] --- Copiando EAR..." | |
printf "\n" | |
cp -v ${EAR} ${WAS_HOME}/monitoredDeployableApps/servers/server1 | |
printf "\n" | |
printf "[DEPLOY] --- Finalizado" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment