Created
December 20, 2015 07:57
-
-
Save de314/9a45d76629a616e7cea2 to your computer and use it in GitHub Desktop.
Maven Safe Deploy
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 | |
mvn clean test | |
rc=$? | |
if [[ $rc != 0 ]] ; then | |
echo 'Failing Tests'; | |
exit $rc | |
fi | |
mvn clean deploy -DskipTests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment