[JIRA] (JENKINS-54154) [Custom Tools Plugin] - JCasC compatibility

10 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 19, 2018, 2:09:07 AM10/19/18
to jenkinsc...@googlegroups.com
Oleg Nenashev created an issue
 
Jenkins / Improvement JENKINS-54154
[Custom Tools Plugin] - JCasC compatibility
Issue Type: Improvement Improvement
Assignee: Oleg Nenashev
Components: customtools-plugin
Created: 2018-10-19 06:08
Labels: jcasc-compatibility
Priority: Minor Minor
Reporter: Oleg Nenashev

Placeholder for https://github.com/jenkinsci/custom-tools-plugin/pull/31 from Nicolas De Loof which is likely not enough to get a full JCasC support in the plugin

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 19, 2018, 5:50:01 AM10/19/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 19, 2018, 5:50:02 AM10/19/18
to jenkinsc...@googlegroups.com
Oleg Nenashev started work on Improvement JENKINS-54154
 
Change By: Oleg Nenashev
Status: Open In Progress

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 2, 2019, 4:17:02 AM1/2/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 2, 2019, 4:18:02 AM1/2/19
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Custom Tools Plugin 0.6

rene.scheibe@gmail.com (JIRA)

unread,
Aug 10, 2019, 6:06:02 AM8/10/19
to jenkinsc...@googlegroups.com
René Scheibe reopened an issue
 

With Jenkins 2.176.2, custom-tools-plugin 0.6, configuration-as-code 1.27 installed and a configured custom tool with only "Name = tool1" set, the following stacktrace is shown:

tool:
  customTool:
    installations: |-
      FAILED TO EXPORT
      com.cloudbees.jenkins.plugins.customtools.CustomTool$DescriptorImpl#installations: java.lang.IllegalArgumentException: argument type mismatch
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:300)
        at io.jenkins.plugins.casc.Attribute._describe(Attribute.java:260)
        at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:235)
        at io.jenkins.plugins.casc.Configurator.describe(Configurator.java:161)
        at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.describe(GlobalConfigurationCategoryConfigurator.java:106)
        at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.lambda$describe$3(GlobalConfigurationCategoryConfigurator.java:99)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
        at java.util.Iterator.forEachRemaining(Iterator.java:116)
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
        at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.describe(GlobalConfigurationCategoryConfigurator.java:99)
        at io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator.describe(GlobalConfigurationCategoryConfigurator.jav
Change By: René Scheibe
Resolution: Fixed
Status: Resolved Reopened
Assignee: Oleg Nenashev

rene.scheibe@gmail.com (JIRA)

unread,
Aug 10, 2019, 6:16:02 AM8/10/19
to jenkinsc...@googlegroups.com
René Scheibe edited a comment on Improvement JENKINS-54154
 
Re: [Custom Tools Plugin] - JCasC compatibility
With Jenkins 2.176.2, custom-tools-plugin 0.6, configuration-as-code 1.27 installed and a configured custom tool with only "Name = tool1" set, the following stacktrace is shown : when exporting the configuration.
{code:java}
{code}

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 10, 2019, 6:25:03 AM8/10/19
to jenkinsc...@googlegroups.com

René Scheibe it would be better to create a new issue for that so that we can add the compatibility incrementally

Kalle.Niemitalo@procomp.fi (JIRA)

unread,
Dec 4, 2019, 3:32:03 AM12/4/19
to jenkinsc...@googlegroups.com
tool:
  customTool:
    installations: |-
      FAILED TO EXPORT
      com.cloudbees.jenkins.plugins.customtools.CustomTool$DescriptorImpl#installations: java.lang.IllegalArgumentException: argument type mismatch
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:300)

This error has been filed as JENKINS-60045. Perhaps JENKINS-54154 can be resolved again.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

rene.scheibe@gmail.com (JIRA)

unread,
Dec 4, 2019, 4:55:03 PM12/4/19
to jenkinsc...@googlegroups.com
René Scheibe resolved as Done
 
Change By: René Scheibe
Status: Reopened Resolved
Resolution: Done

rene.scheibe@gmail.com (JIRA)

unread,
Dec 4, 2019, 4:56:03 PM12/4/19
to jenkinsc...@googlegroups.com
René Scheibe commented on Improvement JENKINS-54154
 
Re: [Custom Tools Plugin] - JCasC compatibility

The still existing issue will be handled in JENKINS-60045.

Reply all
Reply to author
Forward
0 new messages