-
Improvement
-
Resolution: Unresolved
-
Minor
Using plugin with workflow causes the following when loading job:
SEVERE: Failed Loading job my-workflow-job java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.start(BitbucketBuildTrigger.java:23) at org.jenkinsci.plugins.workflow.job.WorkflowJob.onLoad(WorkflowJob.java:132) at hudson.model.Items.load(Items.java:320) at jenkins.model.Jenkins$17.run(Jenkins.java:2651) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:904) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Plugins:
- bitbucket-pullrequest-builder@1.4.7
- workflow-job@1.11"
Jenkins: Jenkins ver. 1.609.3.1 (CloudBees Jenkins Enterprise 15.05)
See attached job config.xml to reproduce
- relates to
-
JENKINS-40702 Bitbucket pullrequest builder plugin not compatible with Multibranch Pipeline project
- Open