-
Notifications
You must be signed in to change notification settings - Fork 732
Open
Description
Jenkins and plugins versions report
Environment
Paste the output here
What Operating System are you using (both controller, and any agents involved in the problem)?
Anything
Reproduction steps
See unit test: jenkinsci/pipeline-groovy-lib-plugin#133
Expected Results
jenkins.plugins.git.GitSCMSource#owner
should be ignored and never warned about.
Actual Results
The following warning is seen in the system log
WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.plugins.git.GitSCMSource#owner: type is abstract but not Describable.
Anything else?
jenkins.plugins.git.GitSCMSource#owner
is a transient
field inherited from SCMSource
that is not intended to be configured by a user. The value is set by the owner object when the scm source is added to it. So JCasC should ignore the field yet it is warning about it in the system log confusing many users.
This warning in fact seems to be logged for any type of scm source, not just git.
SunMar
Metadata
Metadata
Assignees
Labels
No labels