![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
jyrkiput
|
Components:
|
gerrit-plugin, gerrit-trigger-plugin |
Created:
|
07/Jan/15 4:28 PM
|
Description:
|
The "Build Current Patches Only" feature currently identifies previous builds based on their parameters as they were present when the build was first scheduled.
If you use a plugin that alters the parameters after the job has started, the cancelling of previous builds does not work, since the GerritTrigger#cancelJob() method does not find the job anymore.
This is easily and trivially fixed, by not scanning for the parameters, but instead for the GerritEvent that is stored in the GerritCause used to start a build.
A pull request will be uploaded ASAP.
|
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
Martin Schröder
|
|
|
|
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
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.