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

pagerduty plugin upgrade breaks pagerduty functionality in jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pagerduty-plugin
    • None
    • Jenkins 2.249.3
      PagerDuty plugin 0.6.2

      We upgraded the pagerduty plugin from 0.2.6 to 0.6.2 and now all of our jobs that used to send pagerduty alerts no longer work.

      Here is a screenshot of the job config before and after the upgrade:

       

      The error in the logs, after the upgrade, is:
      ERROR: [flexible-publish] PagerDuty Incident Trigger (org.jenkinsci.plugins.pagerduty.PagerDutyTrigger@6d5b3496) aborted due to exception
      java.lang.IllegalStateException: No match found
      at java.util.regex.Matcher.group(Matcher.java:536)
      at org.jenkinsci.plugins.pagerduty.util.PagerDutyUtils.extractDedupKey(PagerDutyUtils.java:36)
      at org.jenkinsci.plugins.pagerduty.PagerDutyTrigger.perform(PagerDutyTrigger.java:215)
      at org.jenkins_ci.plugins.flexible_publish.builder.FailAtEndBuilder.perform(FailAtEndBuilder.java:106)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:112)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:156)
      at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:107)
      at org.jenkins_ci.plugins.flexible_publish.strategy.FailAtEndExecutionStrategy.perform(FailAtEndExecutionStrategy.java:86)
      at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:206)
      at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:124)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1919)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:428)
       

      We are now in the process of upgrading all our jobs, but it stinks that this happened.

            alexanderlz Alexander Leibzon
            grayaii Alex Gray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: