-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: pagerduty-plugin
-
None
-
Environment:Jenkins Version: 2.263.1
pagerduty 0.6.1
Attempting to execute the following step:
Â
pagerdutyChangeEvent(integrationKey: 'REDACTED')
Â
I discovered that the step is not available to Jenkins. Further investigation revealed that this stacktrace shows up on jenkins startup:
Â
ec 8 16:33:49 ip-10-168-107-173 [jenkins]: 2020-12-08 16:33:49.073+0000 [id=34]#011WARNING#011h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate Key[type=org.jenkinsci.plugins.pagerduty.pipeline.PagerDutyChangeEventStep$DescriptorImpl, annotation=[none]]; skipping this component
Dec 8 16:33:49 ip-10-168-107-173 [jenkins]: java.lang.AssertionError: Outer class class org.jenkinsci.plugins.pagerduty.pipeline.PagerDutyChangeEventStep of class org.jenkinsci.plugins.pagerduty.pipeline.PagerDutyChangeEventStep$DescriptorImpl is not assignable to class org.jenkinsci.plugins.workflow.steps.Step. Perhaps wrong outer class?
Dec 8 16:33:49 ip-10-168-107-173 [jenkins]: #011at hudson.model.Descriptor.<init>(Descriptor.java:289)
I've submitted PRÂ #41Â to correct this.
Â
I've also cross-posted this defect in the git repo under #42