Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32655

Add support for Pipeline job types

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I attempted to use this plugin with the Pipeline (previously called Workflow) plugin and, although you can configure the plugin parameters on the job page, saving the job configuration fails with the following error:

      javax.servlet.ServletException: java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

      It would be great to add support for the Pipeline plugin so pipeline builds can be triggered when Pull Requests are created and / or approved.

        Attachments

          Activity

          Hide
          jbochenski Jakub Bochenski added a comment -

          This issue has been automatically closed because of inactivity. Please reopen it if you think it's still valid

          Show
          jbochenski Jakub Bochenski added a comment - This issue has been automatically closed because of inactivity. Please reopen it if you think it's still valid
          Show
          nickbrown Nicholas Brown added a comment - See https://github.com/nemccarthy/stash-pullrequest-builder-plugin/issues/80

            People

            Assignee:
            nemccarthy nathan m
            Reporter:
            petehayes Peter Hayes
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: