When the Custom Tools plugin is installed and a Custom Tool is configured and JCasc 'View Configuration' button is clicked and the following error results in the Casc output:
```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)```
I attempted this with the following versions:
Configuration as Code Plugin version 1.32
Configuration as Code Support Plugin version 1.19
Custom Tools version .6
Jenkins version 2.190.1
- is related to
-
JENKINS-60976 JCasC export doesn't work with Custom Tools plugin
- Resolved
-
JENKINS-54154 [Custom Tools Plugin] - JCasC compatibility
- Resolved