-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 1.651.2, Pipeline 2.4 Plugin, Build Failure Analyzer Plugin 1.17.1, Claim Plugin 2.8
When claiming a build that resulted from a Pipeline, a class cast exception is raised if (and only if) the "Error" Dropdown is filled with a value from the Build Failure Analyzer plugin.
Full stack trace attached.
Caused by: java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowRun cannot be cast to hudson.model.AbstractBuild
at hudson.plugins.claim.ClaimBuildFailureAnalyzer.createFailAction(ClaimBuildFailureAnalyzer.java:57)
at hudson.plugins.claim.AbstractClaimBuildAction.doClaim(AbstractClaimBuildAction.java:88)