3

We have a Jenkins enviroment running for a while and we create a bugzilla for each failed test to inform developers that something went wrong and he needs to correct that test. For now, we create this bugzilla manually but i would like to do it automatically.

Is there any plugin for Jenkins for that? Or i need to develop that using bugzilla API?

Thanks!

4
  • 3
    Welcome to SQA, gcoelho. Do you want Jenkins to log a new bug every time a test fails? For example, suppose Jenkins runs once a day. On Monday, a test35 fails, so you log a bug. Suppose this particular bug will take a few days to fix. Do you want Jenkins to log new bugs about test35 on Tuesday, Wednesday, and Thursday? (This may be an improbable scenario in your organization, so my question may not be important.)
    – user246
    Jun 4, 2012 at 14:50
  • We try to fix broken tests the same day we detected them. Of course, sometimes this is not possible. The best option would be to not open a new bugzilla but that is ok too to open a new one because i can always close it as duplicated. Thanks for your time! Jun 4, 2012 at 21:14
  • Do you have any advice, user246? Jun 6, 2012 at 15:38
  • Sorry, gcoelho, I did not find a way to do that. I am only a casual Jenkins user though, not an expert. Have you tried checking the Jenkins mailing lists (jenkins-ci.org/content/mailing-lists)?
    – user246
    Jun 6, 2012 at 16:19

1 Answer 1

2

In theory you could configure Jenkins to send emails (see this too) to an email address that bugzilla is monitoring to create/update bugs.

Alternatively, a Jenkins notifier could be configured to create a bugzilla ticket via xmlrpc (I don't know of an existing jenkins plugin that does this, however.)

1
  • Thanks Michael! I like the ideia of sending an email to bugzilla. I will try that. Aug 11, 2012 at 4:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.