ktdreyer / jenkins-job-wrecker

convert Jenkins job XML to JJB YAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail gracefully when plugins are not implemented

gilesw opened this issue · comments

version 1.0.3 still printed out some of the job when plugins were not implemented but 1.0.4 now fails to print out anything.

Would you please provide an example XML file that demonstrates this problem?

Same here, fails with some plugins. Here's the affected section of XML

    <hudson.model.ParametersDefinitionProperty>
      <parameterDefinitions>
        <net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition plugin="git-parameter@0.4.0">
          <name>ref</name>
          <description>Git branch/tag/ref to checkout. Must be origin/branch_name&quot; for branches or &quot;tags/tag_name&quot; for tags</description>
          <uuid>8522c284-502e-4ece-8af3-b779cac20c43</uuid>
          <type>PT_BRANCH_TAG</type>
          <branch></branch>
          <tagFilter>*</tagFilter>
          <sortMode>NONE</sortMode>
          <defaultValue>origin/develop</defaultValue>
        </net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition>

jjwrecker fails with:
NotImplementedError: net.uaznia.lukanus.hudson.plugins.gitparameter.GitParameterDefinition

Is this working ok for you now, and we can close this issue?