Jenkins 2.277.1, pagerduty-plugin 0.6.2
We recently upgraded Jenkins and all of our plugins for the first time in about five months. This upgrade included updating the pagerduty plugin from 0.4.1 to 0.6.2. We have three closely-related issues because of this:
- The Jenkinsfile/pipeline parameters for the plugin changed. We performed this upgrade a week ago, and just found out that a critical job of ours has been failing with no notification. Other jobs are also failing to open or close incidents, with no indication that they're failing other than a message at the end of the build output. Our pagerduty step in our build is failing, essentially silently - it's displaying an ERROR in the build log, but the build is still succeeding (see output below).
- There is absolutely no mention in the pagerduty-plugin version history, at either https://plugins.jenkins.io/pagerduty/#documentation or https://github.com/jenkinsci/pagerduty-plugin#version-history of a backwards-incompatible change in the parameters for this plugin. The gist of the version history after 0.6.2 is "Bug fixes" and feature additions - nothing about any changes to current behavior, let alone a breaking change.
- There is no documentation for the pagerduty plugin in the Pipeline Snippet Generator, and there is no documentation that I can find on GitHub or elsewhere for what the new parameters mean, or how to update existing Jenkinsfile pipelines for the new plugin version.
- If I pass invalid parameters to the pagerduty() pipeline step, I expect the build to fail, not for it to just continue on until someone happens to see the warning message.
- I'd like to see the version history of the plugin, and the README / Documentation, updated to clarify that the parameters have changed in a backwards-incompatible way, and a commitment to actually include breaking changes in the version history in the future.
- I'd expect that along with a backwards-incompatible change, there is some documentation explaining what users should do to upgrade, i.e. what the new parameters mean and maybe an example of converting the old params to the new.
Version history in documentation: