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

Stageview doesn't render if a pipeline step requires input

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Major
    • Resolution: Fixed
    • pipeline
    • None
    • Jenkins LTS 2.361.2

    Description

      I'm using the input step in my Jenkinsfile to feed user input into the build. The stageview renders properly if no input is request for a step. If an input is currently requested by a step the following error is logged in the browser console:

       

      Uncaught Required attribute 'objectUrl' not defined on MVC controller 'run-input-required' element.

      Attachments

        Activity

          mgrybyk_els M G added a comment - - edited

          The same issue, using the input step like this:

           

          someList = ['Foo', 'Bar']
          
          def userInput = input(id: 'input', message: 'Message here', ok: 'Next',
              parameters: [
                  [
                  $class: 'ChoiceParameterDefinition',
                  description: 'Description here',
                  name: 'someName',
                  choices: someList
               ]
          ])

           

           

           

          mgrybyk_els M G added a comment - - edited The same issue, using the input step like this:   someList = ['Foo', 'Bar'] def userInput = input(id: 'input', message: 'Message here', ok: 'Next',     parameters: [         [         $class: 'ChoiceParameterDefinition',         description: 'Description here',         name: 'someName',         choices: someList     ] ])      
          tbutz Thomas Butz added a comment -

          Fixed by the latest Jenkins update

          tbutz Thomas Butz added a comment - Fixed by the latest Jenkins update
          mgrybyk_els M G added a comment -

          tbutz any updates on this one? When is a LTS release planned with the fix?

          Thank you

          mgrybyk_els M G added a comment - tbutz any updates on this one? When is a LTS release planned with the fix? Thank you
          tbutz Thomas Butz added a comment -

          I marked the issue as fixed because it was solved by Jenkins and/or plugin update. No problems with the current LTS.

          tbutz Thomas Butz added a comment - I marked the issue as fixed because it was solved by Jenkins and/or plugin update. No problems with the current LTS.

          People

            Unassigned Unassigned
            tbutz Thomas Butz
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: