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

Can only select top node of parallel nodes while job is in progress.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
    • Environment:
      Firefox 51.0
      Chrome Version 54.0.2840.99 m (64-bit)
      Microsoft Edge 38.14393.0.0
      Jenkins 2.17
      Blue Ocean 1.0.0-b24
    • Sprint:
      1.0, Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4, Blue Ocean - 1.1-beta-1, Blue Ocean - 1.1-beta2
    • Similar Issues:

      Description

      During a build I have an init stage followed by a parallel section with 4 stages

      init ---|--Linux Release
              -|--Linux Debug
              -|--Windows Release
              -|--Windows Debug
      

      During the build I try to click on a node in the parallel section other than Linux Release the UI doesn't update (Doesn't have to be Linux Release, it's whatever the topmost node displayed in the parallel section is, I reordered the script to test this)
      But if I click the "init" node (which is already complete and outside the paralell section) it happily updates the UI (I noticed it basically just adds a number to the end of the URL).

      I put some break points into the javascript and found that it's at least getting as far as this bit of code:

              key: 'nodeClicked',
              value: function nodeClicked(node) {
                  var stage = node.stage;
                  var listener = this.props.onNodeClick;
      
                  if (listener) {
                      listener(stage.name, stage.id);
                  }
      
                  // Update selection
                  this.setState({ selectedStage: stage });
      

      When I manually append the stage.id of a node in the parallel section to the URL and refresh the page then the view updates correctly and I can see the status of the node I had clicked on. (I find the node stage.id by clicking the node I want and hitting a breakpoint I set in the above code and then checking the value of the stage.id)

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            austin stoker thanks for filing this issue. What version of Blue Ocean are you running?

            Show
            jamesdumay James Dumay added a comment - austin stoker thanks for filing this issue. What version of Blue Ocean are you running?
            Hide
            jamesdumay James Dumay added a comment -

            Sounds like a karaoke issue

            Show
            jamesdumay James Dumay added a comment - Sounds like a karaoke issue
            Hide
            astoker austin stoker added a comment -

            James Dumay Blue Ocean 1.0.0-b24

            Show
            astoker austin stoker added a comment - James Dumay Blue Ocean 1.0.0-b24
            Hide
            michaelneale Michael Neale added a comment -

            Would it be possible to get a recording of this? I can't quite parse the description myself. 

            Show
            michaelneale Michael Neale added a comment - Would it be possible to get a recording of this? I can't quite parse the description myself. 
            Hide
            jamesdumay James Dumay added a comment -

            Will be released in Blue Ocean 1.1

            Show
            jamesdumay James Dumay added a comment - Will be released in Blue Ocean 1.1

              People

              • Assignee:
                tscherler Thorsten Scherler
                Reporter:
                astoker austin stoker
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: