Page MenuHomePhabricator

Jenkins CI parameterized trigger plugin logs warnings
Open, Needs TriagePublic

Description

Upstream issue https://github.com/jenkinsci/parameterized-trigger-plugin/pull/375


On the CI Jenkins when watching the systemd log with sudo journalctl -u jenkins there is a constant stream of:

May 16 15:50:38 contint2001 jenkins[16435]:
WARNING: [hudson.plugins.parameterizedtrigger.TriggerBuilder perform]
Attempting to use the result of unfinished build castor-save-workspace-cache #3682320

That has been there for a while and we might want to find the root cause and address it.

The change was introduced by https://github.com/jenkinsci/parameterized-trigger-plugin/pull/161/files

The plugin is parameterized-trigger version 2.44.

Event Timeline

Found it! Pull request 148 - Don't automatically mark the parent job as SUCCESS changed BlockingBehaviour.mapBuildResult default return from SUCCESS to null.

In the other pull request, mapBuildResult is tested for null ( https://github.com/jenkinsci/parameterized-trigger-plugin/pull/161/files#diff-1ee1a56287e0d391189d085cdcf4dd5ddc9a1c6d45856622c444b68aab50688aL154 ) and triggers the warning in such a case. But that is expected if the build was a success! So I guess it is misleading.

hashar updated the task description. (Show Details)
hashar moved this task from Backlog to Patch available upstream on the Jenkins board.