Issue Type: Bug Bug
Affects Versions: current
Assignee: rsandell
Components: gerrit-trigger
Created: 24/Jan/13 5:35 PM
Description:

When configuring the Gerrit Trigger to act on ref-updated Gerrit events on a push-direct branch (i.e. for a push to refs/heads/master rather than refs/for/master) it does not deal with multiple commit pushes very well.

The Gerrit stream event looks like:

{"type":"ref-updated","submitter":{"name":"John Doe","email":"j...@example.com"},"refUpdate":{"oldRev":"a9...","newRev":"72...","refName":"FOO-1234","project":"foo"}}

where there can be any number of actual commits between oldRev and newRev. The jenkins reporting for such a build is misleading in that it only lists 1 of the commits (can't remember if it was first or last) in the changelog. Further the "parameters" are also typically wrong. They seem to reflect the parameters for perhaps the previous job.

I strongly suggest whoever is assigned this bug to actually try this use-case and reproduce the problem to see the various issues.

Environment: Jenkins 1.498
Gerrit-Trigger: 2.7.0
Project: Jenkins
Labels: plugin
Priority: Major Major
Reporter: Brian Murrell
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to