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

Pipelines are mixed up when same stage/step names are used

    Details

    • Similar Issues:

      Description

      I have multiple pipelines representing multiple maintenance branches of the same codebase, and each pipeline has the same stage names and step names. They are all using different projects though (all projects are duplicated for each branch/pipeline).
      What happens is that the top pipeline has the proper arrows in the view, and the bottom one has all the arrows from the first stage going all the way up to the second stage of the top pipeline (the remaining stages on the bottom pipeline just have no arrow/lines). All pipelines in between the top and bottom ones have no arrow/lines.

      If I add a completely different pipeline at the bottom, then it won't have any lines/arrows at all, but it won't point to the top pipeline, so I think it's related to the fact that I'm using the same stage/step names.

      This is a regression, it was working fine before version 0.7.1 (which had only the top pipeline displayed)

        Attachments

          Activity

          Hide
          patbos Patrik Boström added a comment - - edited

          If stages with same name is used the views arrows will be incorrectly drawn between stages.
          Have done a fix in branch https://github.com/Diabol/delivery-pipeline-plugin/tree/JENKINS-22423-same-stage-names

          Is it possible for you to download the attached file and test the fix?

          Show
          patbos Patrik Boström added a comment - - edited If stages with same name is used the views arrows will be incorrectly drawn between stages. Have done a fix in branch https://github.com/Diabol/delivery-pipeline-plugin/tree/JENKINS-22423-same-stage-names Is it possible for you to download the attached file and test the fix?
          Hide
          patbos Patrik Boström added a comment -

          Here is a build with the fix

          Show
          patbos Patrik Boström added a comment - Here is a build with the fix
          Hide
          pmatignon Patrice Matignon added a comment -

          Thanks much (that was fast!)
          I'll test it today.

          Show
          pmatignon Patrice Matignon added a comment - Thanks much (that was fast!) I'll test it today.
          Hide
          patbos Patrik Boström added a comment -

          Patrice, did the patch work for you?

          Show
          patbos Patrik Boström added a comment - Patrice, did the patch work for you?
          Hide
          zihaoyuhbo Zihao Yu added a comment -

          FWIW I installed the attached .hpi and it worked perfectly.

          Show
          zihaoyuhbo Zihao Yu added a comment - FWIW I installed the attached .hpi and it worked perfectly.
          Hide
          pmatignon Patrice Matignon added a comment -

          My apologies, I could restart my instance. Still trying to do this asap to get you feedback.

          Show
          pmatignon Patrice Matignon added a comment - My apologies, I could restart my instance. Still trying to do this asap to get you feedback.
          Hide
          patbos Patrik Boström added a comment -

          Thanks for your feedback Zihao Yu.

          Show
          patbos Patrik Boström added a comment - Thanks for your feedback Zihao Yu.
          Hide
          patbos Patrik Boström added a comment -

          Patrice, no problem, can wait a couple of days.

          Show
          patbos Patrik Boström added a comment - Patrice, no problem, can wait a couple of days.
          Hide
          pmatignon Patrice Matignon added a comment -

          It works great for me as well. Thank you for the quick fix!

          Show
          pmatignon Patrice Matignon added a comment - It works great for me as well. Thank you for the quick fix!
          Hide
          patbos Patrik Boström added a comment -

          Thanks for testing!

          Show
          patbos Patrik Boström added a comment - Thanks for testing!
          Hide
          patbos Patrik Boström added a comment -

          Will go out in release 0.7.3

          Show
          patbos Patrik Boström added a comment - Will go out in release 0.7.3
          Hide
          patbos Patrik Boström added a comment -

          Released

          Show
          patbos Patrik Boström added a comment - Released

            People

            • Assignee:
              patbos Patrik Boström
              Reporter:
              pmatignon Patrice Matignon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: