onepremise / gReview

A Bamboo plugin integrating Gerrit which allows Bamboo to verify changes and update the Gerrit review system.
Apache License 2.0
15 stars 23 forks source link

gReview - looped commits #34

Open mimek opened 9 years ago

mimek commented 9 years ago

Hello, since two days we are observing problems with looped builds. Our plan is configured to built changes from all branches in gerrit project. Trigger is set to repository polling: 120 seconds (option 'Repository trigger the build' didn't work for us. Does is it require some additional work to be done on gerrit server?).

For some reason Bamboo schedules two commits for building in a loop, one after another. As a result change in gerrit has got around 20 verification builds. Did someone face with such problem?

Bamboo version: 5.6.2 gReview plugin: 1.4.3.11

Kind regards, mimek

onepremise commented 9 years ago

Hi mimek,

What version Gerrit are you working with? I've seen some cases where Bamboo will pick up the last change, after a successful submission, and rebuild it. Is it constantly rebuilding or only after a change is submitted is it rebuilding the same change again?