-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add success + failure script notification (#49)
* Add failure notification [ci skip] * Success Message Notification [skip ci] * Add success + failure shell script * Fix rcpt address * Fix rcpt address
- Loading branch information
Eric Qian
authored
Jan 7, 2017
1 parent
b4b4b6f
commit 8262962
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#! /bin/sh | ||
|
||
echo "Build Failed! Sending Notification Message. Please Wait" | ||
curl -s --user 'api:key-***REMOVED***' \ | ||
https://api.mailgun.net/v3/m.enumc.com/messages \ | ||
-F from='API Travis <[email protected]>' \ | ||
-F to='2TBS Developers <[email protected]>' \ | ||
-F subject='TowerRush Build Failed - Travis CI' \ | ||
-F text='Travis build failed. This is a notification message. No reply.' | ||
echo "Curl request sent!" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#! /bin/sh | ||
|
||
echo "Build Success! Sending Notification Message. Please Wait" | ||
curl -s --user 'api:key-***REMOVED***' \ | ||
https://api.mailgun.net/v3/m.enumc.com/messages \ | ||
-F from='API Travis <[email protected]>' \ | ||
-F to='2TBS Developers <[email protected]>' \ | ||
-F subject='TowerRush Build Succeeded - Travis CI' \ | ||
-F text='Travis build Succeeded. This is a notification message. No reply.' | ||
echo "Curl request sent!" |