Skip to content

Instantly share code, notes, and snippets.

@vitorpacheco
Created March 24, 2018 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitorpacheco/8bb5e4c43285852185444f113e9d4218 to your computer and use it in GitHub Desktop.
Save vitorpacheco/8bb5e4c43285852185444f113e9d4218 to your computer and use it in GitHub Desktop.
#!/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