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

Executor should show the current stage the flow run is in

    XMLWordPrintable

Details

    Description

      PlaceholderExecutable/executorCell.jelly, which shows steps being run on a particular slave (executor slot), currently only shows something like Building myflow #99. It would be nice if it showed which stage (StageAction) the build was in.

      (The StageAction Javadoc leaves open the possibility of stages which are thread-specific. But the StageAction attached by StageStep is not thread-specific, so this refinement is not important.)

      More broadly, and to support parallel threads better, find the nearest ancestor of the FlowNode available to the PlaceholderExecutable which has an attached LabelAction, and display that label.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            The more general fix would probably work nicely with JENKINS-26107.

            jglick Jesse Glick added a comment - The more general fix would probably work nicely with JENKINS-26107 .

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/cps/DSL.java
            src/main/java/org/jenkinsci/plugins/workflow/cps/steps/LoadStepExecution.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/32c5626173ff03becc9e563d4aad1058899ba783
            Log:
            Merge pull request #5 from jglick/JENKINS-26132-FlowNodeSerialWalker

            Load step flow graph fix

            Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/5e8cbc2be2b3...32c5626173ff

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/org/jenkinsci/plugins/workflow/cps/DSL.java src/main/java/org/jenkinsci/plugins/workflow/cps/steps/LoadStepExecution.java http://jenkins-ci.org/commit/workflow-cps-plugin/32c5626173ff03becc9e563d4aad1058899ba783 Log: Merge pull request #5 from jglick/ JENKINS-26132 -FlowNodeSerialWalker Load step flow graph fix Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/5e8cbc2be2b3...32c5626173ff

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: