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

I can view my sequential declarative pipeline stages in the pipeline visualization plugin

    XMLWordPrintable

Details

    • Blue Ocean 1.8.0

    Description

      For Declarative 1.3 (JENKINS-46809), we're adding support for sequential groups of stages, either as part of a set of parallel stages or on its own in a top-level stage. I won't bother going into all the rationale behind it. =) See the Declarative PR for the relevant changes, examples, discussion, etc.

      This will require changes for both visualization and the editor:

      • Visualization - see my pathetic attempts at mockups attached here. jamesdumay probably will come up with something better in like five seconds. =)
      • Editor - Should be something like we have for parallel stages - reordering would be good too.

      Attachments

        1. image-2018-08-07-20-14-01-469.png
          20 kB
          Nicolae Pascu
        2. image-2018-09-13-14-31-36-029.png
          11 kB
          Hokwang Lee
        3. proof.png
          39 kB
          Stephan Vedder
        4. sequential-group-parallel.png
          87 kB
          Andrew Bayer
        5. sequential-group-top-level.png
          82 kB
          Andrew Bayer

        Issue Links

          Activity

            Looks awesome! Thanks a lot!

            hasselmm Mathias Hasselmann added a comment - Looks awesome! Thanks a lot!
            olamy Olivier Lamy added a comment -

            horangs any Jenkinsfile to reproduce that?

            olamy Olivier Lamy added a comment - horangs any Jenkinsfile to reproduce that?
            horangs Hokwang Lee added a comment - - edited

            nicu and abayer

             

            Today I can test this visualization, and it shows me like below. Nice works.

            But there's one big concern.

            In my pipeline code,

            stage('Parallel') : it really does not have meaning.

            stage('Feature A') and stage('Feature B') and stage('Feature C') : now there's no way to see, (it means sequential actions group(type) name)

            but this is more important and user should be aware of it.

             

            How do you think of this? And please let me know related issue number if exists. Or not, can I create new issue for this?

             

            Thank you.

            horangs Hokwang Lee added a comment - - edited nicu and abayer   Today I can test this visualization, and it shows me like below. Nice works. But there's one big concern. In my pipeline code, stage('Parallel') : it really does not have meaning. stage('Feature A') and stage('Feature B') and stage('Feature C') : now there's no way to see, (it means sequential actions group(type) name) but this is more important and user should be aware of it.   How do you think of this? And please let me know related issue number if exists. Or not, can I create new issue for this?   Thank you.
            horangs Hokwang Lee added a comment -

            olamy Oh, please forget it, now I guess there's no problem. Please look at my comment anyway upside.

            horangs Hokwang Lee added a comment - olamy Oh, please forget it, now I guess there's no problem. Please look at my comment anyway upside.

            horangs see JENKINS-53127. Unfortunately nobody triaged that issue yet.

            Also much more important: JENKINS-53547

            hasselmm Mathias Hasselmann added a comment - horangs see  JENKINS-53127 . Unfortunately nobody triaged that issue yet. Also much more important:  JENKINS-53547

            People

              nicu Nicolae Pascu
              abayer Andrew Bayer
              Votes:
              18 Vote for this issue
              Watchers:
              40 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: