-
Bug
-
Resolution: Unresolved
-
Major
-
None
Contrary to the other bug report with the same title, in my case, the claim button doesn't appear at all, so I guess the issue is different.
Summary: when using a build-flow job instance, the claim button doesn't show up on a build failure. It works on a regular job.
Jenkins version: 1.575
Claim version: 2.3
[JENKINS-24355] Unable to claim builds using the build-flow plugin [bis]
Workflow | Original: JNJira [ 157275 ] | New: JNJira + In-Review [ 179552 ] |
Assignee | Original: Christian Bremer [ ki82 ] | New: Arnaud TAMAILLON [ greybird ] |
We were able to solve this by checking the "Build needs workspace" - checkbox. That way the buildflow is created as a AbstractRunner instead of RunExecution (we checked the code).
Claim-plugin works if buildflow is AbstractRunner, but this is deprecated.
We even tried to revert from RunExecution to ActractRunner, and then all jobs works with the claim-plugin. Not sure if Claim-plugin should be changed or the BuildFlow update to be visible for the Claim-plugin.
class FlowRun
protected class FlyweightTaskRunnerImpl extends RunExecution //Not working with claim
protected class BuildWithWorkspaceRunnerImpl extends AbstractRunner //Works with claim, this is used when "Build needs workspace" is checked.