Created
May 22, 2014 09:21
-
-
Save mlocher/57e47a6be4b70c184b22 to your computer and use it in GitHub Desktop.
Ensure a second ant task is called, independent of the result of the first
This file contains hidden or 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 | |
ant All | |
return_value=$? | |
# Call sendmail task to ensure sending logs | |
ant sendmail | |
echo "Call to ant ALL was ${return_value}" | |
exit $return_value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have tried above given commands but its not working at my end. I am observing if ant All get failed then ant sendemail not being execute.
Please look into this and do the needful.
Thanks,
Aman