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

Build Button fails for jobs that require "Build with Parameters"

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core

      I just upgraded to 1.535. Handling of jobs that require parameters to build is broken.

      This works:

      • I go to the job page http://jenkins/job/jobname
      • I see an option "Build with Parameters"
      • I click the button, I enter the parameters
      • The job is submitted.

      This doesn't work:

      • I see the job listed on a view page http://jenkins/view/viewname
      • I hover over the "build" button, which displays the hover text "Schedule a build with parameters"
      • I click the button, and expect to enter the parameters, but instead it immediately says "build scheduled", but the job is not actually scheduled.

      Then if I look in the log, I see an exception trace as reported in JENKINS-20074.

          [JENKINS-20080] Build Button fails for jobs that require "Build with Parameters"

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/dea7cfd03920c0989ab058fc5166242ceb33dee6
          Log:
          JENKINS-20080 Noting that pull #975 was merged.

          Compare: https://github.com/jenkinsci/jenkins/compare/aae949ea2101...dea7cfd03920

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/dea7cfd03920c0989ab058fc5166242ceb33dee6 Log: JENKINS-20080 Noting that pull #975 was merged. Compare: https://github.com/jenkinsci/jenkins/compare/aae949ea2101...dea7cfd03920

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2958
          [FIXED JENKINS-20080] Build Button fails for jobs that require "Build with Parameters" (Revision 245a8bf2c60a63ec1c99bb7833358581ee220b5b)
          JENKINS-20080 Noting that pull #975 was merged. (Revision dea7cfd03920c0989ab058fc5166242ceb33dee6)

          Result = SUCCESS
          ogondza : 245a8bf2c60a63ec1c99bb7833358581ee220b5b
          Files :

          • core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly

          Jesse Glick : dea7cfd03920c0989ab058fc5166242ceb33dee6
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #2958 [FIXED JENKINS-20080] Build Button fails for jobs that require "Build with Parameters" (Revision 245a8bf2c60a63ec1c99bb7833358581ee220b5b) JENKINS-20080 Noting that pull #975 was merged. (Revision dea7cfd03920c0989ab058fc5166242ceb33dee6) Result = SUCCESS ogondza : 245a8bf2c60a63ec1c99bb7833358581ee220b5b Files : core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly Jesse Glick : dea7cfd03920c0989ab058fc5166242ceb33dee6 Files : changelog.html

          benza added a comment -

          This issue was fixed, you need to upgrade "Jenkins Parameterized Trigger plugin"
          to 2.22 with jenkins > 1.537

          benza added a comment - This issue was fixed, you need to upgrade "Jenkins Parameterized Trigger plugin" to 2.22 with jenkins > 1.537

          G Harris added a comment -

          This is still broken in Jenkins 1.551 with Parameterized Trigger plugin 2.22.

          G Harris added a comment - This is still broken in Jenkins 1.551 with Parameterized Trigger plugin 2.22.

          This is still broken in Jenkins 1.551 with Parameterized Trigger plugin 2.22.

          It has not been broken for me since 1.538/2.22. @G Harris, did you only just upgrade and are still seeing the problem? What was the sequence of events?

          Matthew Webber added a comment - This is still broken in Jenkins 1.551 with Parameterized Trigger plugin 2.22. It has not been broken for me since 1.538/2.22. @G Harris, did you only just upgrade and are still seeing the problem? What was the sequence of events?

          Jochen Pinnekamp added a comment - - edited

          Still seeing this sporadically with Jenkins 1.612 and Trigger 2.27

          Jochen Pinnekamp added a comment - - edited Still seeing this sporadically with Jenkins 1.612 and Trigger 2.27

          jochen, please file a separate issue, this was fixed almost 2 years ago.

          Oliver Gondža added a comment - jochen , please file a separate issue, this was fixed almost 2 years ago.

          Pavel Pigalov added a comment -

          Hi guys,
          Currently experiencing this on:

          • Jenkins v1.653
          • multijob-plugin v1.21

          How to get rid of this?

          Pavel Pigalov added a comment - Hi guys, Currently experiencing this on: Jenkins v1.653 multijob-plugin v1.21 How to get rid of this?

          ram237, please file a separate issue, this was fixed more than 2 years ago.

          Oliver Gondža added a comment - ram237 , please file a separate issue, this was fixed more than 2 years ago.

          Pavel Pigalov added a comment -

          Thanks for your reply, olivergondza!
          I've raised JENKINS-34161 - seems to be related to multijob view only.

          Pavel Pigalov added a comment - Thanks for your reply, olivergondza ! I've raised JENKINS-34161 - seems to be related to multijob view only.

            olivergondza Oliver Gondža
            mwebber Matthew Webber
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: