Similar to what happens on the Bamboo Plans, I'd like that my deployment plans to notify me by email every time a deployment hangs up.
Is that possible?
Thanks.
Pedro Rosas
Hello Pedro. Thanks for your inquiry.
When mentioning build plan notifications, you likely speak about the build notification "Job hung". Please find this, along with all other build notification options sketched in the following KB:
With regards to deployment notifications, this is the related KB:
https://confluence.atlassian.com/bamboo/notifications-for-deployment-environments-342754193.html
Deployment notifications are not configured on deployment project level, but inside each deployment environment of a deployment project. So to add a deployment notification, you need to open a deployment environment per "Edit environment" (pencil symbol on the right) on the "Deployment projects" page and there press button "Notifications" and then "Add notification".
The selectable notification events are "Deployment started and finished", "Deployment finished" (according to the above KB) and also "Deployment failed" which is missing out in the document from above (our sincere apologies for that).
Now failing is not hanging, but if a deployment is kicked off and never finishes, it kind of fails. So in order to receive the hanging information, I see basiaclly two options for you:
Please find details of Bamboo's RESTful API in our Bamboo REST API Tutorial https://docs.atlassian.com/atlassian-bamboo/REST/6.8.1/ and the endpoint that I mentioned above below. It uses the GET method, of course.
/queue/deployment?expand
Are either option 1 or 2 from above applicable for you? We hope so.
Please let us know if there is more that we can assist you on here.
Thanks and cheers,
Gerhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.