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

          petehayes Peter Hayes created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 168314 ] JNJira + In-Review [ 183062 ]
          nickbrown Nicholas Brown made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          jbochenski Jakub Bochenski made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Closed [ 6 ]

            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: