Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- start=`date +%s`
- echo "Maven packaging..."
- mvn clean package -q
- echo "Deploying to Wildfly..."
- ./jboss-cli.sh --connect controller=15.07.19.82 --user=guest --password=guest --command="deploy --force /usr/share/billy/projects/PioneerProj/target/thewebnew.war"
- end=`date +%s`
- runtime=$((end-start))
- echo "Success - in $runtime seconds"
Add Comment
Please, Sign In to add comment