Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57580

Add support for JCasC xldeploy-plugin / deployitNotifier

XMLWordPrintable

      Please add support for configuration-as-code for the xldeploy-plugin plugin.

      Currently, the following:

      unclassified:
        deployitNotifier:
          deployitServerUrl: "http://server:4516"

      gives:

      io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class com.xebialabs.deployit.ci.DeployitNotifier$DeployitDescriptor : deployitServerUrl.
      Available attributes : 
      	at io.jenkins.plugins.casc.BaseConfigurator.handleUnknown(BaseConfigurator.java:372)
      	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:361)
      	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:282)
      	at io.jenkins.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:347)
      	at io.jenkins.plugins.casc.BaseConfigurator.check(BaseConfigurator.java:282)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.lambda$checkWith$6(ConfigurationAsCode.java:665)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:627)
      Caused: io.jenkins.plugins.casc.ConfiguratorException: unclassified: error configuring 'unclassified' with class io.jenkins.plugins.casc.impl.configurators.GlobalConfigurationCategoryConfigurator configurator
      	at io.jenkins.plugins.casc.ConfigurationAsCode.invokeWith(ConfigurationAsCode.java:633)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.checkWith(ConfigurationAsCode.java:665)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:649)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:548)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:277)
      	at io.jenkins.plugins.casc.ConfigurationAsCode.doReload(ConfigurationAsCode.java:153)
      	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      ...

            wlee1668 Wai Lee
            vx Vi Pl
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: