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

Add support for Pipeline job types

    XMLWordPrintable

Details

    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

          nickbrown Nicholas Brown added a comment - See https://github.com/nemccarthy/stash-pullrequest-builder-plugin/issues/80

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

          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

          People

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

            Dates

              Created:
              Updated:
              Resolved: