• Pipeline - July/August

      This ticket is closed – please read carefully

      Hi everyone,

      I am aware that this ticket is valued by many people. However, on review there are too many disparate use cases and problems attached to this issue that are already described elsewhere.

      This issue means too many things for too many people and makes it unsatisfiable with a single change. The appropriate action here is to close this ticket and ask watchers to watch and vote for a specific ticket that will solve their problem.

      If you are interested in these problems, please watch and vote for the following:

      • JENKINS-39203 - The entire pipeline gets marked as unstable rather than the stage or parallel where the unstable status was set.
      • JENKINS-45579 - Capability to mark a stage as "failed" with message and have the pipeline continue executing.
      • JENKINS-43995 - Infrastructure to allow any step to have its own distinct status. This enables the tickets listed above.
      • JENKINS-46170 - Add notes to stages and parallels

      I may have missed a few use cases. If that is the case:

      • Search JIRA for an issue matching your use case. If you find one, link it in the comments and I will update the ticket. Be sure to leave a comment on the linked ticket describing the problem you are trying to solve and then your desired solution to the problem.
      • If you cannot find an existing issue, raise a new one and comment here. Leave a comment on your new ticket describing problem you are trying to solve and then your desired solution to the problem.

      Thanks,
      James Dumay

      Original request
      It is often useful to provide more information up-front than a simple red or green "this step passed" or "this step failed". Our current in-house CI software has a "summary" field in its "Running Steps" equivalent, which can be filled with other info when a step finishes. For example, we have a step "upload-to-storage" which can optionally replace a "/latest/" symlink to the output it just uploaded. Either replacing or not replacing the symlink is correct, so we populate our "summary" field with the decision taken.

      I've attached an example from our current CI system - note that by allowing a step to populate its own summary, it means all pertinent information is available immediately to developers, on one page, rather than needing to always click through to log output for high-level information.

          [JENKINS-26522] Annotated block/stage status

          James Dumay added a comment - - edited

          Hi everyone,

          I am aware that this ticket is valued by many people. However, on review there are too many disparate use cases and problems attached to this issue that are already described elsewhere.

          This issue means too many things for too many people and makes it unsatisfiable with a single change. The appropriate action here is to close this ticket and ask watchers to watch and vote for a specific ticket that will solve their problem.

          If you are interested in these problems, please watch and vote for the following:

          • JENKINS-39203 - The entire pipeline gets marked as unstable rather than the stage or parallel where the unstable status was set.
          • JENKINS-45579 - Capability to mark a stage as "failed" with message and have the pipeline continue executing.
          • JENKINS-43995 - Infrastructure to allow any step to have its own distinct status. This enables the tickets listed above.

          I may have missed a few use cases. If that is the case:

          • Search JIRA for an issue matching your use case. If you find one, link it in the comments and I will update the ticket. Be sure to leave a comment on the linked ticket describing the problem you are trying to solve and then your desired solution to the problem.
          • If you cannot find an existing issue, raise a new one and comment here. Leave a comment on your new ticket describing problem you are trying to solve and then your desired solution to the problem.

          Thanks,

          James Dumay added a comment - - edited Hi everyone, I am aware that this ticket is valued by many people. However, on review there are too many disparate use cases and problems attached to this issue that are already described elsewhere. This issue means too many things for too many people and makes it unsatisfiable with a single change. The appropriate action here is to close this ticket and ask watchers to watch and vote for a specific ticket that will solve their problem. If you are interested in these problems, please watch and vote for the following: JENKINS-39203 - The entire pipeline gets marked as unstable rather than the stage or parallel where the unstable status was set. JENKINS-45579 - Capability to mark a stage as "failed" with message and have the pipeline continue executing. JENKINS-43995 - Infrastructure to allow any step to have its own distinct status. This enables the tickets listed above. I may have missed a few use cases. If that is the case: Search JIRA for an issue matching your use case. If you find one, link it in the comments and I will update the ticket. Be sure to leave a comment on the linked ticket describing the problem you are trying to solve and then your desired solution to the problem. If you cannot find an existing issue, raise a new one and comment here. Leave a comment on your new ticket describing problem you are trying to solve and then your desired solution to the problem. Thanks,

          jamesdumay the tickets you linked seem to focus on the state of stages, but as I read the original ticket it was also about additional information by each stage (not only if a stage fails or is unstable, but also if everything went well).

          This aspect seems to only vaguely covered by JENKINS-45579 with the message.
          Should one open a new Request for this or will it be covered in one of the menitoned.

          Daniel Geißler added a comment - jamesdumay the tickets you linked seem to focus on the state of stages, but as I read the original ticket it was also about additional information by each stage (not only if a stage fails or is unstable, but also if everything went well). This aspect seems to only vaguely covered by JENKINS-45579 with the message. Should one open a new Request for this or will it be covered in one of the menitoned.

          James Dumay added a comment -

          dageissl do you mean that you want to be able to attach a "note" to any stage or parallel? If so, please raise another ticket for that use cases and I can link it here.

          James Dumay added a comment - dageissl do you mean that you want to be able to attach a "note" to any stage or parallel? If so, please raise another ticket for that use cases and I can link it here.

          jamesdumay I've opened JENKINS-46170 hope this coveres all the intentions.

          Daniel Geißler added a comment - jamesdumay I've opened  JENKINS-46170 hope this coveres all the intentions.

          Looks like the right initiative to close that one.

          However I now wonder whether there's any ticket out there requesting to visualize stages inside parallel blocks using Blue Ocean. Can anyone tell? Didn't find anything so far but I doubt that I'm the only one who would make use of it.

          Thanks.

          Joerg Schwaerzler added a comment - Looks like the right initiative to close that one. However I now wonder whether there's any ticket out there requesting to visualize stages inside parallel blocks using Blue Ocean. Can anyone tell? Didn't find anything so far but I doubt that I'm the only one who would make use of it. Thanks.

          James Dumay added a comment -

          macdrega you are looking for JENKINS-38442 but its unlikely to be implemented at this time (we can't find a sane way to visualise it). Would you mind drawing a picture of your ideal visualisation and a mock Jenkinsfile, to help us figure out what you want? (attach and comment to JENKINS-38442)

          James Dumay added a comment - macdrega you are looking for JENKINS-38442 but its unlikely to be implemented at this time (we can't find a sane way to visualise it). Would you mind drawing a picture of your ideal visualisation and a mock Jenkinsfile, to help us figure out what you want? (attach and comment to JENKINS-38442 )

          Thanks for the quick answer - found that one already.

          I totally understand that nested stages are hard to visualize. I only need a small part of it: The only thing I need is just stages inside parallel blocks - without nesting one stage inside another stage, something like:

          That should be easy to visualize.

          Probably I'll create a new ticket hoping that it won't be closed in favor of  JENKINS-38442.

          Joerg Schwaerzler added a comment - Thanks for the quick answer - found that one already. I totally understand that nested stages are hard to visualize. I only need a small part of it: The only thing I need is just stages inside parallel blocks - without nesting one stage inside another stage, something like: That should be easy to visualize. Probably I'll create a new ticket hoping that it won't be closed in favor of   JENKINS-38442 .

          James Dumay added a comment -

          Mind posting this on the other ticket so that it's captured in the right place?

          James Dumay added a comment - Mind posting this on the other ticket so that it's captured in the right place?

          Sorry my fault . Post is already done now.

          Joerg Schwaerzler added a comment - Sorry my fault . Post is already done now.

          James Dumay added a comment -

          Thanks

          James Dumay added a comment - Thanks

            Unassigned Unassigned
            directhex Jo Shields
            Votes:
            115 Vote for this issue
            Watchers:
            167 Start watching this issue

              Created:
              Updated:
              Resolved: