[JIRA] (JENKINS-54782) Support for Configuration as Code plugin
Title: Message Title Reinhold Füreder edited a comment on JENKINS-54782 Re: Support for Configuration as Code plugin Jenkins startup log warnings from JCasC:{noformat}WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable.{noformat} * => Extracted/moved the problem from (very generic issue) [https://github.com/jenkinsci/configuration-as-code-plugin/issues/536] * {quote}After adding some more JCasC configurations (in comparison to before/above), I am now getting (only) the following warning during Jenkins startup (twice):{noformat}WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable.{noformat}I am pretty sure the JCasC context is the configuration of a "global library": this is the interesting parts of the "jenkins.yaml" file:{noformat}jenkins: ... securityRealm:ldap: ...credentials: system:domainCredentials:- credentials: ... - usernamePassword: scope: GLOBAL id: jenkins-ldap username: *** password: *** description: "Jenkins LDAP user and password credentials" ...unclassified: ... globalLibraries:libraries:- name: "acme-shared-library" defaultVersion: "trunk" allowVersionOverride: true includeInChangesets: false retriever:modernSCM: scm:subversion: remoteBase: "https:///" credentialsId: jenkins-ldap ...{noformat}These are all Jenkins logs relevant for this warning or the "global library" configuration (please mind but ignore the duplicate logging or are these maybe even temporary duplicate configuration object instantiations: this is another issue => #899):{noformat}...2019-06-11 10:06:43.572+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.name = acme-shared-library2019-06-11 10:06:43.576+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class jenkins.scm.impl.subversion.SubversionSCMSource.remoteBase = https:///2019-06-11 10:06:43.577+ [id=35]WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable.2019-06-11 10:06:43.578+ [id=35]INFOi.jenkins.plugins.casc.Attribute#setValue: Setting jenkins.scm.impl.subversion.SubversionSCMSource{id='4b43e974-7f07-4a35-9646-da9361bd0127'}.credentialsId = jenkins-ldap2019-06-11 10:06:43.578+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.scm = {subversion={}}2019-06-11 10:06:43.579+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.retriever = {modernSCM={}}2019-06-11 10:06:43.579+ [id=35]INFOi.jenkins.plugins.casc.Attribute#setValue: Setting org.jenkinsci.plugins.workflow.libs.LibraryConfiguration@40045ff7.allowVersionOverride = true2019-06-11 10:06:43.580+ [id=35]INFOi.jenkins.plugins.casc.Attribute#setValue: Setting org.jenkinsci.plugins.workflow.libs.LibraryConfiguration@40045ff7.defaultVersion = trunk2019-06-11 10:06:43.580+ [id=35]INFOi.jenkins.plugins.casc.Attribute#setValue: Setting org.jenkinsci.plugins.workflow.libs.LibraryConfiguration@40045ff7.includeInChangesets = false...2019-06-11 10:06:45.472+ [id=35]INFOi.j.p.c
[JIRA] (JENKINS-54782) Support for Configuration as Code plugin
Title: Message Title Reinhold Füreder edited a comment on JENKINS-54782 Re: Support for Configuration as Code plugin Jenkins startup log warnings from JCasC:{ { noformat} WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. {noformat } } => Extracted/moved the problem from (very generic issue) [https://github.com/jenkinsci/configuration-as-code-plugin/issues/536]{quote} After adding some more JCasC configurations (in comparison to before/above), I am now getting (only) the following warning during Jenkins startup (twice): { { noformat} WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. {noformat } } I am pretty sure the JCasC context is the configuration of a "global library": this is the interesting parts of the "jenkins.yaml" file: { { noformat} jenkins: }} {{ ... }} {{ securityRealm: }} {{ ldap: }} {{ ... }} {{ credentials: }} {{ system: }} {{ domainCredentials: }} - {{ credentials: }} {{ ... }} - {{ usernamePassword: }} {{ scope: GLOBAL }} {{ id: jenkins-ldap }} {{ username: *** }} {{ password: *** }} {{ description: "Jenkins LDAP user and password credentials" }} {{ ... }} {{ unclassified: }} {{ ... }} {{ globalLibraries: }} {{ libraries: }} - {{ name: "acme-shared-library" }} {{ defaultVersion: "trunk" }} {{ allowVersionOverride: true }} {{ includeInChangesets: false }} {{ retriever: }} {{ modernSCM: }} {{ scm: }} {{ subversion: }} {{ remoteBase: "https:///" }} {{ credentialsId: jenkins-ldap }} {{ ... {noformat } } These are all Jenkins logs relevant for this warning or the "global library" configuration (please mind but ignore the duplicate logging or are these maybe even temporary duplicate configuration object instantiations: this is another issue => #899): { { noformat} ... }} {{ 2019-06-11 10:06:43.572+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.name = acme-shared-library }} {{ 2019-06-11 10:06:43.576+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class jenkins.scm.impl.subversion.SubversionSCMSource.remoteBase = https:/// }} {{ 2019-06-11 10:06:43.577+ [id=35] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. }} {{ 2019-06-11 10:06:43.578+ [id=35] INFO i.jenkins.plugins.casc.Attribute#setValue: Setting jenkins.scm.impl.subversion.SubversionSCMSource }} { {Unknown macro: \{ id='4b43e974-7f07-4a35-9646-da9361bd0127'} }}{{ .credentialsId = jenkins-ldap }} {{ 2019-06-11 10:06:43.578+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.scm = \ {subversion={}} }} {{ 2019-06-11 10:06:43.579+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.retriever = \ {modernSCM={}} }} {{ 2019-06-11 10:06:43.579+ [id=35] INFO i.jenkins.plugins.casc.Attribute#setValue: Setting org.jenkinsci.plugins.workflow.libs.LibraryConfiguration@40045ff7.allowVersionOverride = true }} {{ 2019-06-11 10:06:43.580+ [id=35] INFO i.jenkins.plugins.casc.Attribute#setValue: Setting org.jenkinsci.plugins.workflow.libs.LibraryConfiguration@40045ff7.defaultVersion = trunk }} {{ 2019-06-11 10:06:43.580+ [id=35] INFO i.jenkins.p
[JIRA] (JENKINS-54782) Support for Configuration as Code plugin
Title: Message Title Reinhold Füreder edited a comment on JENKINS-54782 Re: Support for Configuration as Code plugin Jenkins startup log warnings from JCasC: ``` {{ WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. }} ``` => Extracted/moved the problem from (very generic issue) [ https://github.com/jenkinsci/configuration-as-code-plugin/issues/536 ] {quote} After adding some more JCasC configurations (in comparison to before/above), I am now getting (only) the following warning during Jenkins startup (twice): ``` {{ WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. }} ``` I am pretty sure the JCasC context is the configuration of a "global library": this is the interesting parts of the "jenkins.yaml" file: ``` {{ jenkins: }} {{ ... }} {{ securityRealm: }} {{ ldap: }} {{ ... }} {{ credentials: }} {{ system: }} {{ domainCredentials: }} - {{ credentials: }} {{ ... }} - {{ usernamePassword: }} {{ scope: GLOBAL }} {{ id: jenkins-ldap }} {{ username: *** }} {{ password: *** }} {{ description: "Jenkins LDAP user and password credentials" }} {{ ... }} {{ unclassified: }} {{ ... }} {{ globalLibraries: }} {{ libraries: }} - {{ name: "acme-shared-library" }} {{ defaultVersion: "trunk" }} {{ allowVersionOverride: true }} {{ includeInChangesets: false }} {{ retriever: }} {{ modernSCM: }} {{ scm: }} {{ subversion: }} {{ remoteBase: "https:///" }} {{ credentialsId: jenkins-ldap }} {{ ... }} ``` These are all Jenkins logs relevant for this warning or the "global library" configuration (please mind but ignore the duplicate logging or are these maybe even temporary duplicate configuration object instantiations: this is another issue => #899): ``` {{ ... }} {{ 2019-06-11 10:06:43.572+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.name = acme-shared-library }} {{ 2019-06-11 10:06:43.576+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class jenkins.scm.impl.subversion.SubversionSCMSource.remoteBase = https:/// }} {{ 2019-06-11 10:06:43.577+ [id=35]WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. }} {{ 2019-06-11 10:06:43.578+ [id=35]INFOi.jenkins.plugins.casc.Attribute#setValue: Setting jenkins.scm.impl.subversion.SubversionSCMSource }} { {Unknown macro: \{ id='4b43e974-7f07-4a35-9646-da9361bd0127'} }}{{ .credentialsId = jenkins-ldap }} {{ 2019-06-11 10:06:43.578+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.scm = \ {subversion={}} }} {{ 2019-06-11 10:06:43.579+ [id=35]INFOi.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.retriever = \ {modernSCM={}} }} {{ 2019-06-11 10:06:43.579+ [id=35]INFOi.jenkins.plugins.casc.Attribute#setValue: Setting org.jenkinsci.plugins.workflow.libs.LibraryConfiguration@40045ff7.allowVersionOverride = true }} {{ 2019-06-11 10:06:43.580+ [id=35]INFOi.jenkins.plugins.casc.Attribute#
[JIRA] (JENKINS-54782) Support for Configuration as Code plugin
Title: Message Title Reinhold Füreder commented on JENKINS-54782 Re: Support for Configuration as Code plugin Jenkins startup log warnings from JCasC: ``` WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. ``` => Extracted/moved the problem from (very generic issue) https://github.com/jenkinsci/configuration-as-code-plugin/issues/536 After adding some more JCasC configurations (in comparison to before/above), I am now getting (only) the following warning during Jenkins startup (twice): ``` WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. ``` I am pretty sure the JCasC context is the configuration of a "global library": this is the interesting parts of the "jenkins.yaml" file: ``` jenkins: ... securityRealm: ldap: ... credentials: system: domainCredentials: credentials: ... usernamePassword: scope: GLOBAL id: jenkins-ldap username: *** password: *** description: "Jenkins LDAP user and password credentials" ... unclassified: ... globalLibraries: libraries: name: "acme-shared-library" defaultVersion: "trunk" allowVersionOverride: true includeInChangesets: false retriever: modernSCM: scm: subversion: remoteBase: "https:///" credentialsId: jenkins-ldap ... ``` These are all Jenkins logs relevant for this warning or the "global library" configuration (please mind but ignore the duplicate logging or are these maybe even temporary duplicate configuration object instantiations: this is another issue => #899): ``` ... 2019-06-11 10:06:43.572+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jenkinsci.plugins.workflow.libs.LibraryConfiguration.name = acme-shared-library 2019-06-11 10:06:43.576+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class jenkins.scm.impl.subversion.SubversionSCMSource.remoteBase = https:/// 2019-06-11 10:06:43.577+ [id=35] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.scm.impl.subversion.SubversionSCMSource#owner: type is abstract but not Describable. 2019-06-11 10:06:43.578+ [id=35] INFO i.jenkins.plugins.casc.Attribute#setValue: Setting jenkins.scm.impl.subversion.SubversionSCMSource Unknown macro: {id='4b43e974-7f07-4a35-9646-da9361bd0127'} .credentialsId = jenkins-ldap 2019-06-11 10:06:43.578+ [id=35] INFO i.j.p.c.i.c.DataBoundConfigurator#tryConstructor: Setting class org.jen
[JIRA] (JENKINS-54782) Support for Configuration as Code plugin
Title: Message Title Michal Jeco updated an issue Jenkins / JENKINS-54782 Support for Configuration as Code plugin Change By: Michal Jeco Summary: Change Subversion Support for Configuration as Code plugin version over JCASC Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.195590.1542915869000.9445.1575041940260%40Atlassian.JIRA.