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

Scroll up during input step causes Proceed not to respond in Blue Ocean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins 2.89.3
      BlueOcean 1.4.0
      JDK 8u121
      RHEL 5.11
      Chrome 63.0.3239.84
    • Blue Ocean 1.6 - beta 1

      In Blue Ocean, if the user scrolls up (or presses the up arrow key) during an input step, then clicks Proceed, the input forms remains and the lower half of the UI does not update. The pipeline graph updates, and the execution continues in the background. The user has to manually refresh the page to view the log of the next stage.

      This can be reproduced on any input step, however in practice this affects users when input forms contain choice parameters and/or enough parameters to require scrolling on the page.

      The Javascript code is catching these events, seemingly to stop auto-scrolling when displaying console output, so perhaps an exception needs to be made for input steps.

      Example pipeline used in the screenshots:

      stage("Select version") {
          input message: "Select from the list", parameters: [choice(name: "version", choices: "0.1\n0.2\n0.3\n0.4\n0.5\n0.6\n0.7", description: "Version")]
      }
      stage("Deploy") {
          println "Deploying..."
          sleep(10)
      }

            nicu Nicolae Pascu
            pierrelord84 Pierre Lord
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: