Integrating Anthill with a Problem Report systyem?
Marcio Marchini <[email protected]> Fri, 24 Mar 2006 10:32:07 -0500
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Hi, Has anybody given any thought to integration between Anthill and a Problem Report system like Bugzilla or similar? I have seen cases where a build was being done every 30mins. Sometimes it failed and remained failed for hours. Having it email again and again was a pain. Emails became noise. If we had Anthill add a Problem Report automatically to Bugzilla (or similar), that would have become noise too. What can be done, then? I was thinking that what you want is to be able to disable timed builds when a build fails. Basically, if a timed build fails you would: 1) enter a PR against Bugzilla or similar, attaching whatever report you wanted (junit output, whatever) 2) switch to non-timed builds 3) if the PR system was closed, have a way to switch the timed builds ON again Has anybody given this any thought? It would require a mechanism of plugins to talk to different PR systems (JIRA, Bugzilla, etc) and a mechanism to be notified back. Web Services is something that comes to mind here, but anything goes as long as it can be done in a straightforward manner? I think that #1 can be done with a custom Ant task. So, it could be invoked from the build.xml. The problem with that is that if the developer tests locally, he'd be sending a bug and you don't want that. You'd have to do a "If I am running inside ANthill then submit the PR". For #2 you'd need an Anthill option to "switch to another schedule if teh build fails", and make it switch to a apaused schedule. The real problem is #3, as it would require instrumenting the PR system and Anthill, so they talk to each other. Ideas? Suggestions? URLs? Thanks, marcio