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

Run button does not work with Parametrized builds

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • build-pipeline-plugin
    • None
    • Jenkins: 1.521
      Build Pipeline Plugini: 1.4.2

      The Run button on the Build Pipeline Plugin doesn't work when the initial job is parametrized.

          [JENKINS-20873] Run button does not work with Parametrized builds

          sheryl pinto created issue -
          sheryl pinto made changes -
          Description Original: Build Pipeline Plugin throw the next exception when I click in the run button:

          {code}
          WARNING: Untrapped Error in Servlet
          org.kohsuke.stapler.ForwardToView
          at org.kohsuke.stapler.HttpResponses.forwardToView(HttpResponses.java:213)
          at hudson.model.BuildAuthorizationToken.checkPermission(BuildAuthorizationToken.java:87)
          at hudson.model.AbstractProject.doBuild(AbstractProject.java:1791)
          at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder$1.generateResponse(DownstreamProjectGridBuilder.java:172)
          at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:105)
          at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:63)
          at org.kohsuke.stapler.Function.renderResponse(Function.java:103)
          at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:92)
          {code}

          Thanks in advance,
          New: The Run button on the Build Pipeline Plugin doesn't work when the initial job is parametrized.
          Environment Original: Jenkins: 1.519
          Build Pipeline Plugini: 1.3.4.1
          New: Jenkins: 1.521
          Build Pipeline Plugini: 1.4.2
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          sheryl pinto made changes -
          Link New: This issue is related to JENKINS-18490 [ JENKINS-18490 ]

          Neil Welsh added a comment -

          I am also having the same problem. Although i am not getting any java errors, in IE i get the following:

          POST is required for au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder.doBuild

          We are on Jenkins version:
          1.538
          Pipeline version
          1.4.2

          Please Let me know if you need any further information
          Neil

          Neil Welsh added a comment - I am also having the same problem. Although i am not getting any java errors, in IE i get the following: POST is required for au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder.doBuild We are on Jenkins version: 1.538 Pipeline version 1.4.2 Please Let me know if you need any further information Neil

          How is the status for this bug? Will it be fixed?

          Dennis Schulte added a comment - How is the status for this bug? Will it be fixed?

          ntmba lobo added a comment -

          I have asked to contribute on this plugin and this will be one of the first thing I will be looking at.

          ntmba lobo added a comment - I have asked to contribute on this plugin and this will be one of the first thing I will be looking at.

          Jeff Storey added a comment -

          Any updates on this one?

          Jeff Storey added a comment - Any updates on this one?

          I believe this is fixed. I'm currently on Jenkins 1.565 and Pipeline version 1.4.3. You just need to be sure in the view configuration to change "Pipeline starts with parameters" to "yes".

          See pull request #29: https://github.com/jenkinsci/build-pipeline-plugin/compare/build-pipeline-plugin-1.4.2...master

          Michael Nothhard added a comment - I believe this is fixed. I'm currently on Jenkins 1.565 and Pipeline version 1.4.3. You just need to be sure in the view configuration to change "Pipeline starts with parameters" to "yes". See pull request #29: https://github.com/jenkinsci/build-pipeline-plugin/compare/build-pipeline-plugin-1.4.2...master

          Jeff Storey added a comment -

          I'm using Jenkins 1.569 and pipeline version 1.4.3 and when I press the run button I get a 404 page. I did verify that "Pipeline starts with parameters" is set to "yes".

          Jeff Storey added a comment - I'm using Jenkins 1.569 and pipeline version 1.4.3 and when I press the run button I get a 404 page. I did verify that "Pipeline starts with parameters" is set to "yes".

          Jeff Storey added a comment -

          This looks like a duplicate of JENKINS-25427. I recently submitted a fix for this https://github.com/jenkinsci/build-pipeline-plugin/pull/56.

          Jeff Storey added a comment - This looks like a duplicate of JENKINS-25427 . I recently submitted a fix for this https://github.com/jenkinsci/build-pipeline-plugin/pull/56 .

            Unassigned Unassigned
            pintosh sheryl pinto
            Votes:
            9 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: