Hello
I use bamboo for building iOS project.
Currently I have script in a task which runs test cases from my app. If tests fail I want to send email notification about failure. How can I do that?
if [SomeCondiction]; then
echo "** TEST FAILED **"
else
echo "** TEST SUCCESFULL **"
fi
What should I do to send email notification in case of failure? I read notification manual and could not find any correct notification which performs such kind of actions. I do not want to fail a job in this case as build can be fine, just tests failed. How can I do that?
Thanks in advance
Hello Bogdan,
There is no such type of built-in notification in Bamboo.
It's possible to create your own notification as Bamboo plugin, you can start from children of com.atlassian.bamboo.notification.AbstractNotificationType class to see samples
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.