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"

          Matthew Webber created issue -
          Matthew Webber made changes -
          Link New: This issue is related to JENKINS-20074 [ JENKINS-20074 ]
          Matthew Webber made changes -
          Summary Original: Build Button fails for jobs that requrie "Build with Parameters" New: Build Button fails for jobs that require "Build with Parameters"

          See on the jenkinsci-users mailing list:

          I face a similar issue in version 1.531. I have a job (MultiJob Project) that run another set of jobs. From the view I am able to schedule the build, but from the job page I wont be able to start the build even though it says build scheduled after I click it and give parameters.

          This is not same but has same behaviour (JENKINS-20080)

          Vivek.

          Matthew Webber added a comment - See on the jenkinsci-users mailing list: I face a similar issue in version 1.531. I have a job (MultiJob Project) that run another set of jobs. From the view I am able to schedule the build, but from the job page I wont be able to start the build even though it says build scheduled after I click it and give parameters. This is not same but has same behaviour ( JENKINS-20080 ) Vivek.

          Steve Roth added a comment -

          We just noticed this as well. I think it coincided with the upgrade to 1.535. Will rollback to 1.534 later today and can confirm if that's the case or not.

          Steve Roth added a comment - We just noticed this as well. I think it coincided with the upgrade to 1.535. Will rollback to 1.534 later today and can confirm if that's the case or not.

          Jesse Glick added a comment -

          Jesse Glick added a comment - I think a faulty merge was to blame: https://github.com/jenkinsci/jenkins/commit/82a10c12cedcb48c8583aea3ff7f8db42cbf8331#commitcomment-4349191
          Jesse Glick made changes -
          Assignee New: Oliver Gondža [ olivergondza ]
          Jesse Glick made changes -
          Labels New: regression

          Oliver Gondža added a comment - https://github.com/jenkinsci/jenkins/pull/975
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated:
              Resolved: