Details
-
Type:
Bug
-
Status: In Review (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: core
-
Labels:None
-
Similar Issues:
Description
The system property 'hudson.model.ParametersAction.keepUndefinedParameters' was updated to take a 'false' value, with the intent of supressing warnings about undefined parameters that are being ignored. This behavior is documented in https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties
However, the check implement actually does the reverse, and only shows the warning messages if the system property is set to false (https://github.com/arothian/jenkins/blob/master/core/src/main/java/hudson/model/ParametersAction.java#L329)
Code changed in jenkins
User: Kevin Formsma
Path:
core/src/main/java/hudson/model/ParametersAction.java
http://jenkins-ci.org/commit/jenkins/354f3802430bf114869796279305177a0091aa70
Log:
JENKINS-45519 Fix keepUndefinedParameters option for suppressing warnings (#2939)
Pull request 2687 added a 'false' setting for this flag to prevent warning messages from being logged, but the logic doesn't match the message or the documentation. This updates the check, so that the warning message is correctly suppressed if `hudson.model.ParametersAction.keepUndefinedParameters` is set to false.