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

"Back to normal" times reported in Slack notifications don't make much sense

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: slack-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.12, Slack Notification Plugin 2.0.1
    • Similar Issues:

      Description

      After I upgraded Slack Notification Plugin from 1.x to 2.0, I noticed that "Back to normal" times stopped making sense to me.

      Here is an example:

      • July 7, 5:26 PM Build #4898 is green
      • July 8, 10:22 AM Build #4899 fails
      • July 8, 10:57 AM Build #4901 goes from red to green. The build takes 1m:03s

      Prior to 2.0 upgrade, Slack would report "Back to normal after 1m" for #4901 just like it does for other cases: green-to-green builds, etc.. Build time is very or the most important characteristic for any testing jobs: for performance, load or functional testing.

      Now 2.0 reports "Back to normal after 17 hr". I understand that the intent was probably to show how long the build stayed red. (What it apparently does actually is showing time passed since the last green build, which is not the same.) However, unlike build times this metric has no significance to our team. We're trying to fix broken builds in any case.

      Would it be possible to restore the old behavior or at least to provide an option to use build times in these notifications?

        Attachments

          Activity

          Hide
          jaminshanti Jamin Shanti added a comment -

          +1

          Show
          jaminshanti Jamin Shanti added a comment - +1
          Hide
          dk Dmitriy Korobskiy added a comment -

          I still see prolonged time periods as in "Back to normal after 13 days" and no option to configure it. The plugin version is 2.45.

          Show
          dk Dmitriy Korobskiy added a comment - I still see prolonged time periods as in "Back to normal after 13 days" and no option to configure it. The plugin version is  2.45 .

            People

            Assignee:
            kmadel Kurt Madel
            Reporter:
            dk Dmitriy Korobskiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: