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

2.0: provide better workflow visualization out of the box

    XMLWordPrintable

Details

    Description

      To make workflow more compelling, Jenkins 2.0 should provide a better visualization of the workflow execution out of the box.

      CloudBees is proposing to contribute the workflow stage view plugin to jump start this, which uses stage steps to drive the visualization of workflow runs as they progress through the pipeline:

      Attachments

        Issue Links

          Activity

            kohsuke Kohsuke Kawaguchi created issue -
            kohsuke Kohsuke Kawaguchi made changes -
            Field Original Value New Value
            Epic Link JENKINS-31152 [ 165808 ]
            kohsuke Kohsuke Kawaguchi made changes -
            Link This issue is related to JENKINS-31118 [ JENKINS-31118 ]

            Lack of a good pipeline visualization is the major blocker for Workflow adoption at our company. What's the expected timeframe for this contribution?

            dserodio Daniel Serodio added a comment - Lack of a good pipeline visualization is the major blocker for Workflow adoption at our company. What's the expected timeframe for this contribution?

            Same here, according to Kohsuke in the post below we should expect the visualization plugin to be freely available with Jenkins v2.0 on late Jan 2016.

            https://groups.google.com/forum/#!topic/jenkinsci-dev/vbXK7JJekFw%5B1-25%5D

            Until then we can be hard at work in perfecting our workflows . Any updates appreciated.

            idimitrakopoulos Iason Dimitrakopoulos added a comment - Same here, according to Kohsuke in the post below we should expect the visualization plugin to be freely available with Jenkins v2.0 on late Jan 2016. https://groups.google.com/forum/#!topic/jenkinsci-dev/vbXK7JJekFw%5B1-25%5D Until then we can be hard at work in perfecting our workflows . Any updates appreciated.
            moixcruz Moises Cruz added a comment -

            Yes same for me, I've been experiencing for some time with workflow pipelines and find it very powerfull but cannot migrate until it provides a good visualization status.
            I tried to present it to other teams and their comments are always regarding a lack of visual representation.

            Any updates are appreciated too.

            +1

            moixcruz Moises Cruz added a comment - Yes same for me, I've been experiencing for some time with workflow pipelines and find it very powerfull but cannot migrate until it provides a good visualization status. I tried to present it to other teams and their comments are always regarding a lack of visual representation. Any updates are appreciated too. +1
            jgp Jon Payne added a comment -

            +1 Exactly the same situation here, workflow/pipelines would be very beneficial, both simplifying and enhancing some pipelines that we currently hack together using other plugins, but without visualization we cannot use it.
            Role on Jan 2016

            jgp Jon Payne added a comment - +1 Exactly the same situation here, workflow/pipelines would be very beneficial, both simplifying and enhancing some pipelines that we currently hack together using other plugins, but without visualization we cannot use it. Role on Jan 2016

            +1 Expect Jan 2016 too !

            fabrice_ Mercier Fabrice added a comment - +1 Expect Jan 2016 too !

            We see that workflow is pretty powerful to accomplish complex build and deployment scenarios, Looking forward for open source version of CloudBees plugin.

            snallami suresh nallamilli added a comment - We see that workflow is pretty powerful to accomplish complex build and deployment scenarios, Looking forward for open source version of CloudBees plugin.
            nikk699 Faheem Nadeem added a comment - - edited

            Any updates on this, Jan is almost at the end Looking forward to it being open source !!!

            nikk699 Faheem Nadeem added a comment - - edited Any updates on this, Jan is almost at the end Looking forward to it being open source !!!
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-32675 [ JENKINS-32675 ]

            This is the repo which will contain the src from CloudBee:s implementenation: https://github.com/jenkinsci/pipeline-stage-view-plugin

            thecopy Erik Jonsson Thorén added a comment - This is the repo which will contain the src from CloudBee:s implementenation: https://github.com/jenkinsci/pipeline-stage-view-plugin
            danielbeck Daniel Beck made changes -
            Labels 2.0 2.0-planned
            hrmpw Patrick Wolf made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            hrmpw Patrick Wolf made changes -
            Assignee Jesse Glick [ jglick ] Sam Van Oort [ svanoort ]
            leon_k Leon Leon made changes -
            Comment [ Hello everyone,

            Do you have experience with changing the source code of the pipeline/workflow plugin by yourself ?

            We are trying to change the visualization of the pipeline steps to make it more understandable for Jenkins users (developers or managers) and make it only show relevant steps:.

            i.e: showing steps (nodes) and their status like:
            - stages
            - running batch
            - parallel steps

            But not showing other steps like:
            - Allocate node : Start
            - Allocate node : Body : Start
            - Change Directory : Start

            Is such an operation possible or will it affect the workflow functionality ?
            I tried to made the changes by starting with the class FlowGraphTable.
            Any help would be greatly appreciated ]

            The GitHub repo now contains the source code: https://github.com/jenkinsci/pipeline-stage-view-plugin

            thecopy Erik Jonsson Thorén added a comment - The GitHub repo now contains the source code: https://github.com/jenkinsci/pipeline-stage-view-plugin

            Thanks a lot for making this plug-in open source!

            Is it possible now to install the plug-in with Jenkins ver. 1.642.1? I can see the plug-in in the Plug-Ins Wiki but not in the list of available plug-ins directly in Jenkins.

            If it is not possible to install it from Jenkins Update site yet, is it possible to download the plug-in file to install it manually?

            gitt Slawa Giterman added a comment - Thanks a lot for making this plug-in open source! Is it possible now to install the plug-in with Jenkins ver. 1.642.1? I can see the plug-in in the Plug-Ins Wiki but not in the list of available plug-ins directly in Jenkins. If it is not possible to install it from Jenkins Update site yet, is it possible to download the plug-in file to install it manually?

            gitt apparently, the plugin has been released in alpha version. That means you should find in the experimental update center.

            My 2 cents

            batmat Baptiste Mathus added a comment - gitt apparently, the plugin has been released in alpha version. That means you should find in the experimental update center . My 2 cents

            batmat thanks for the advise. I could install the plug-in from it.

            gitt Slawa Giterman added a comment - batmat thanks for the advise. I could install the plug-in from it.
            svanoort Sam Van Oort added a comment -

            Yes, it is available in an alpha state and the full release is coming shortly; we're dependent on a workflow release before this can go out fully (the alpha depends on a workflow beta). The final review and feature inclusions for that are being negotiated presently.

            svanoort Sam Van Oort added a comment - Yes, it is available in an alpha state and the full release is coming shortly; we're dependent on a workflow release before this can go out fully (the alpha depends on a workflow beta). The final review and feature inclusions for that are being negotiated presently.
            svanoort Sam Van Oort added a comment -

            The plugin is now available via the main update center, we are currently migrating issues/docs content over and bringing the Wiki into full compliance.

            svanoort Sam Van Oort added a comment - The plugin is now available via the main update center, we are currently migrating issues/docs content over and bringing the Wiki into full compliance.
            svanoort Sam Van Oort made changes -
            Component/s pipeline-stage-view-plugin [ 21139 ]
            Component/s workflow-plugin [ 18820 ]
            danielbeck Daniel Beck made changes -
            Labels 2.0-planned 2.0 2.0-planned
            svanoort Sam Van Oort added a comment -

            I am going ahead and closing this out, since we appear to have the necessary steps done for pipeline stage view.

            svanoort Sam Van Oort added a comment - I am going ahead and closing this out, since we appear to have the necessary steps done for pipeline stage view.
            svanoort Sam Van Oort made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            svanoort Sam Van Oort added a comment -

            I am going ahead and closing this out, since we appear to have the necessary steps done for pipeline stage view.

            svanoort Sam Van Oort added a comment - I am going ahead and closing this out, since we appear to have the necessary steps done for pipeline stage view.
            svanoort Sam Van Oort made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            withnale Paul R added a comment -

            I've noticed that the 'Retry' and 'Download' links don't appear by default. After looking at the code, there seems to be an extension mechanism for controlling this area of the UI.

            We're currently using BuildPipeline steps and use the Restart functionality heavily. Is there any plans to make the Restart logic available with the StageView?

            withnale Paul R added a comment - I've noticed that the 'Retry' and 'Download' links don't appear by default. After looking at the code, there seems to be an extension mechanism for controlling this area of the UI. We're currently using BuildPipeline steps and use the Restart functionality heavily. Is there any plans to make the Restart logic available with the StageView?
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 166334 ] JNJira + In-Review [ 209360 ]
            jzila John Zila added a comment - - edited

            The workflow graph is still overly verbose: Allocate node : Start is always followed by Allocate node : Body : Start, likewise with the step output for dir, timestamps, timeout, ws, withEnv, withRegistry, retry, wrap.

            This leads to unnecessarily deep trees and makes it difficult to parse. Can we collapse those nodes in the workflow graph to 1 deep instead of 2?

            jzila John Zila added a comment - - edited The workflow graph is still overly verbose: Allocate node : Start is always followed by Allocate node : Body : Start , likewise with the step output for dir , timestamps , timeout , ws , withEnv , withRegistry , retry , wrap . This leads to unnecessarily deep trees and makes it difficult to parse. Can we collapse those nodes in the workflow graph to 1 deep instead of 2?

            4c00h unfortunately I'm afraid the Retry feature is exclusive to Cloudbees' Jenkins Enterprise. I'm also currently using Build Pipeline Plugin and I really miss the Retry feature. I hope Cloudbees decides to make this feature free/open source.

            dserodio Daniel Serodio added a comment - 4c00h unfortunately I'm afraid the Retry feature is exclusive to Cloudbees' Jenkins Enterprise. I'm also currently using Build Pipeline Plugin and I really miss the Retry feature. I hope Cloudbees decides to make this feature free/open source.

            While we're already off-topic, in a closed ticket…

            jzila: You'd have to open a new ticket for that.
            dserodio: Or hope that Naginator (which works pretty good for retrying Freestyle builds) gets Pipeline support: JENKINS-37076

            orrc Christopher Orr added a comment - While we're already off-topic, in a closed ticket… jzila : You'd have to open a new ticket for that. dserodio : Or hope that Naginator (which works pretty good for retrying Freestyle builds) gets Pipeline support: JENKINS-37076
            jglick Jesse Glick added a comment -

            The workflow graph is still overly verbose

            Changes in this area planned anyway.

            the Retry feature is exclusive to Cloudbees' Jenkins Enterprise

            The feature name you are probably referring to is checkpoints. Core (OSS) Pipeline supports a Retry feature, which is quite different.

            jglick Jesse Glick added a comment - The workflow graph is still overly verbose Changes in this area planned anyway. the Retry feature is exclusive to Cloudbees' Jenkins Enterprise The feature name you are probably referring to is checkpoints. Core (OSS) Pipeline supports a Retry feature, which is quite different.

            People

              svanoort Sam Van Oort
              kohsuke Kohsuke Kawaguchi
              Votes:
              52 Vote for this issue
              Watchers:
              63 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: