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

Stage view renders incorrectly with stages appearing multiple times.

      Attached is a screenshot of the stage view rendering weird. Sometimes refreshing the page helps (but not always!).

      Our jenkinsfile essentially looks like this:

      #!groovy
      
      node('linux') {
          stage("Checkout") {
              commitTag = checkout...
          }
      
          stage("Build") {
              parallel (
                  // ....
              )
          }
      }
      
      stage("Docker") {
          node('docker') {
              // ....
          }
      }
      
      stage("Tests") {
          parallel (
              // ....
          )
      }
      
      

      Javascript console shows this log:

      stageview.js:4557 No "data-stageId" on stage.
      stageview.js:4557 No "data-stageId" on stage.
      

      but this doesn't seem to be related to the issue.

          [JENKINS-38765] Stage view renders incorrectly with stages appearing multiple times.

          Nick Sonneveld created issue -
          Nick Sonneveld made changes -
          Attachment New: jenkins_weird_stage_rendering_2.png [ 34260 ]
          Nick Sonneveld made changes -
          Description Original: Attached is a screenshot of the stage view rendering weird. The time for the current stage doesn't seem to update either.

          Our jenkinsfile essentially looks like this:

          {noformat}
          #!groovy

          node('linux') {
              stage("Checkout") {
                  commitTag = swcheckout(false)
              }

              stage("Build") {
                  parallel (
                      // ....
                  )
              }
          }

          stage("Docker") {
              node('docker') {
                  // ....
              }
          }

          stage("Tests") {
              parallel (
                  // ....
              )
          }

          {noformat}
          New: Attached is a screenshot of the stage view rendering weird. The time for the current stage doesn't seem to update either. Sometimes refreshing the page helps.

          Our jenkinsfile essentially looks like this:

          {noformat}
          #!groovy

          node('linux') {
              stage("Checkout") {
                  commitTag = checkout...
              }

              stage("Build") {
                  parallel (
                      // ....
                  )
              }
          }

          stage("Docker") {
              node('docker') {
                  // ....
              }
          }

          stage("Tests") {
              parallel (
                  // ....
              )
          }

          {noformat}

          Javascript console shows this log:

          {noformat}
          stageview.js:4557 No "data-stageId" on stage.
          stageview.js:4557 No "data-stageId" on stage.
          {noformat}
          Nick Sonneveld made changes -
          Description Original: Attached is a screenshot of the stage view rendering weird. The time for the current stage doesn't seem to update either. Sometimes refreshing the page helps.

          Our jenkinsfile essentially looks like this:

          {noformat}
          #!groovy

          node('linux') {
              stage("Checkout") {
                  commitTag = checkout...
              }

              stage("Build") {
                  parallel (
                      // ....
                  )
              }
          }

          stage("Docker") {
              node('docker') {
                  // ....
              }
          }

          stage("Tests") {
              parallel (
                  // ....
              )
          }

          {noformat}

          Javascript console shows this log:

          {noformat}
          stageview.js:4557 No "data-stageId" on stage.
          stageview.js:4557 No "data-stageId" on stage.
          {noformat}
          New: Attached is a screenshot of the stage view rendering weird. The time for the current stage doesn't seem to update either. Sometimes refreshing the page helps (but not always!).

          Our jenkinsfile essentially looks like this:

          {noformat}
          #!groovy

          node('linux') {
              stage("Checkout") {
                  commitTag = checkout...
              }

              stage("Build") {
                  parallel (
                      // ....
                  )
              }
          }

          stage("Docker") {
              node('docker') {
                  // ....
              }
          }

          stage("Tests") {
              parallel (
                  // ....
              )
          }

          {noformat}

          Javascript console shows this log:

          {noformat}
          stageview.js:4557 No "data-stageId" on stage.
          stageview.js:4557 No "data-stageId" on stage.
          {noformat}
          Nick Sonneveld made changes -
          Summary Original: Stage view renders incorrectly and time doesn't update in real time. New: Stage view renders incorrectly with stages appearing multiple times.
          Nick Sonneveld made changes -
          Description Original: Attached is a screenshot of the stage view rendering weird. The time for the current stage doesn't seem to update either. Sometimes refreshing the page helps (but not always!).

          Our jenkinsfile essentially looks like this:

          {noformat}
          #!groovy

          node('linux') {
              stage("Checkout") {
                  commitTag = checkout...
              }

              stage("Build") {
                  parallel (
                      // ....
                  )
              }
          }

          stage("Docker") {
              node('docker') {
                  // ....
              }
          }

          stage("Tests") {
              parallel (
                  // ....
              )
          }

          {noformat}

          Javascript console shows this log:

          {noformat}
          stageview.js:4557 No "data-stageId" on stage.
          stageview.js:4557 No "data-stageId" on stage.
          {noformat}
          New: Attached is a screenshot of the stage view rendering weird. Sometimes refreshing the page helps (but not always!).

          Our jenkinsfile essentially looks like this:

          {noformat}
          #!groovy

          node('linux') {
              stage("Checkout") {
                  commitTag = checkout...
              }

              stage("Build") {
                  parallel (
                      // ....
                  )
              }
          }

          stage("Docker") {
              node('docker') {
                  // ....
              }
          }

          stage("Tests") {
              parallel (
                  // ....
              )
          }

          {noformat}

          Javascript console shows this log:

          {noformat}
          stageview.js:4557 No "data-stageId" on stage.
          stageview.js:4557 No "data-stageId" on stage.
          {noformat}

          but this doesn't seem to be related to the issue.
          David van Laatum made changes -
          Attachment New: screenshot-1.png [ 34673 ]
          David van Laatum made changes -
          Attachment New: ajax.json [ 34674 ]
          Nick Sonneveld made changes -
          Attachment New: Screen Shot 2016-12-02 at 5.59.45 PM.png [ 35060 ]
          James Dumay made changes -
          Sprint New: Pipeline - Candidates [ 381 ]
          James Dumay made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]

            Unassigned Unassigned
            sonneveldsmartward Nick Sonneveld
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: