Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
file="releaseNote.txt"
if [ -f$file” ]
then
echo "$file found."
message="We uploaded the new build"
for key in $(cat releaseNote.txt)
do
message=$"${message} n ${JIRA_URL}browse/$key"
done
curl -X POST -H 'Content-type: application/json' — data "{"text ":"$message"}" ${SLACK_HOOK}
else
echo "$file not found."
fi
@VovaStelmashchuk

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.