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

Input Steps Outside Block-Scoped Stages Do Not Show Notifications

      To reproduce:

      stage ('sample') {
        echo 'do something'
      }
      input 'I am invisible'
      

      Run the above build, you will not see a popup for the input step, because it's not attached to a stage.

      To solve this, we need to attach any in-progress input steps from the run to the last stage so notifications are visible.

      May require some custom logic in the ChunkVisitor on the atomNode.

          [JENKINS-38385] Input Steps Outside Block-Scoped Stages Do Not Show Notifications

          James Dumay added a comment -

          We closed a similar ticket for Blue Ocean (JENKINS-35836) and recommended users to wrap all their steps within stages for correct visualization. It is worth noting that this situation is impossible to get into if using Declarative Pipeline syntax as all steps must belong to a stage.

          James Dumay added a comment - We closed a similar ticket for Blue Ocean ( JENKINS-35836 ) and recommended users to wrap all their steps within stages for correct visualization. It is worth noting that this situation is impossible to get into if using Declarative Pipeline syntax as all steps must belong to a stage.

            svanoort Sam Van Oort
            svanoort Sam Van Oort
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: