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

Display pipeline total build time

    XMLWordPrintable

Details

    Description

      It would be a nice feature to display total build time of each pipeline in the title.

      Attachments

        Activity

          I would love to see this feature come to fruition. Let me know if I can help.

          pmatignon Patrice Matignon added a comment - I would love to see this feature come to fruition. Let me know if I can help.
          patbos Patrik Boström added a comment - Merged PR https://github.com/Diabol/delivery-pipeline-plugin/pull/103

          Release in 0.9.4

          patbos Patrik Boström added a comment - Release in 0.9.4

          Thank you all for this great feature, very useful!

          I am using v0.9.5 and I see that the build times are reported as the sum of the build times for all steps. However, earlier in this thread, there was a discussion about the concurrent steps that should not be counted twice. So in this version, it does not seem to be implemented.
          Could you please clarify?

          And if confirmed, what is the general sense of what the logic should be?
          IMHO, I see value in different scenarios:

          • Actual build times, excluding concurrent steps (i.e. actual time spent building steps)
          • Total end-to-end times (pipeline time to complete), including the inactive time in case of MANUAL triggers
            So, and realizing this adds complexity, maybe a configuration for potentially multiple displays:
            [ ] show total build times
            [ ] show actual build times
            [ ] show end-to-end pipeline duration
            What is your sense, so that we can decide if a follow-up enhancement ticket should be created ? Thanks in advance!
          pmatignon Patrice Matignon added a comment - Thank you all for this great feature, very useful! I am using v0.9.5 and I see that the build times are reported as the sum of the build times for all steps. However, earlier in this thread, there was a discussion about the concurrent steps that should not be counted twice. So in this version, it does not seem to be implemented. Could you please clarify? And if confirmed, what is the general sense of what the logic should be? IMHO, I see value in different scenarios: Actual build times, excluding concurrent steps (i.e. actual time spent building steps) Total end-to-end times (pipeline time to complete), including the inactive time in case of MANUAL triggers So, and realizing this adds complexity, maybe a configuration for potentially multiple displays: [ ] show total build times [ ] show actual build times [ ] show end-to-end pipeline duration What is your sense, so that we can decide if a follow-up enhancement ticket should be created ? Thanks in advance!
          denisby Denis Kot added a comment -

          Is it possible to use this feature in messages? I.e. in HipChat messages. Like:

          job-pipeline #3007 SUCCESSFUL after 1 min 42 sec
          
          denisby Denis Kot added a comment - Is it possible to use this feature in messages? I.e. in HipChat messages. Like: job-pipeline #3007 SUCCESSFUL after 1 min 42 sec

          People

            Unassigned Unassigned
            zihaoyuhbo Zihao Yu
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: