Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

JBE - Notify when build succeeds AFTER failure

I'm on RTC3, using JBE for continuous integration.  The notification features are working great to tell the person(s) who delivered the change(s) that they "broke the build".   We are also cc'ing the tech. lead on these failures.

I'm now looking for a way to send out another notification when the build succeeds after the failure to tell the person(s) who delivered the change(s) and the tech. lead that the build is back to normal.

To be clear, I don't want email on every success... only when the build succeeds after a failure. 

So after success, it seems I need to look at the last build result, see if it was a failure, get information about the failed build result to do the notification, etc.

Do you know if this is possible to implement with the JBE ANT tasks or any other way?  Any samples to share?

Thanks very much!,

Eric

0 votes


Accepted answer

Permanent link
Eric, if you want to use it in the JBE, you could use the plain java client library see https://jazz.net/library/article/807 and http://ryehle.wordpress.com/2012/06/28/custom-build-result-pruner/ for inspirations. Otherwise I assume you would have to create a server extension that looks at build results. As far as I am aware you need 4.x to do that, because there was an issue with build events. In the server, you could use the Jazz e-mail server.
E B selected this answer as the correct answer

0 votes

Comments

Thanks!  I'll look in to these references.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 29 '12, 8:07 a.m.

Question was seen: 3,569 times

Last updated: Nov 29 '12, 12:30 p.m.

Confirmation Cancel Confirm