Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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!

share|improve this question
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 '12 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! –  gcoelho Jun 4 '12 at 21:14
    
Do you have any advice, user246? –  gcoelho Jun 6 '12 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 '12 at 16:19

1 Answer 1

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.)

share|improve this answer
    
Thanks Michael! I like the ideia of sending an email to bugzilla. I will try that. –  gcoelho Aug 11 '12 at 4:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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