-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not warn when triggered job is a success #375
Conversation
I keep having log messages such as: WARNING: [hudson.plugins.parameterizedtrigger.TriggerBuilder perform] Attempting to use the result of unfinished build <name of job> #1234 The message was introduced in jenkinsci#161 by 06d8f19 but in jenkinsci#148 / 02ee6ea, mapBuildResult() was made to return `null` by default (eg on SUCCESS). The resut is the warning is always triggered when the triggered build succeeds. Fixes https://phabricator.wikimedia.org/T336782
This pull request is a good reason to release a new version of the plugin, though I would like to complete the evaluation of the upgrade of the optional dependency on promoted builds plugin before this is released. The optional dependency is being evaluated in pull requests:
My preference is to update to the older version of promoted builds so that the fewest users are forced to update to a newer version of promoted builds, but the dependency version is still modernized to a popular release that is only 20 months old instead of 29 months old. |
Tests pass in plugin BOM draft pull request when the optional dependency on promoted builds plugin is updated to the same new value in both the git plugin and the parameterized trigger plugin. That means we'll need a release of git plugin and a release of parameterized trigger plugin in the same plugin BOM release. This pull request will be the catalyst for the automated release of the parameterized trigger plugin. |
Do you need me to rebase the pull request? |
Thanks for asking, but no need to rebase. It will be squash merged |
Thank you for the release. I have confirmed the warnings are gone! |
I keep having log messages such as:
WARNING: [hudson.plugins.parameterizedtrigger.TriggerBuilder perform]
Attempting to use the result of unfinished build #1234
The message was introduced in #161 by 06d8f19 but in #148 / 02ee6ea, mapBuildResult() was made to return
null
by default (eg on SUCCESS).The resut is the warning is always triggered when the triggered build succeeds.
Fixes https://phabricator.wikimedia.org/T336782
Testing done
Submitter checklist