This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Latest version of the job dsl plugin fails on Windows, 100%.

      ERROR: invalid script name 'Z:\export\jenkins\workspace\test_generate_jenkins_jobs\dev\dev.dsl; script names may only contain letters, digits and underscores, but may not start with a digit

      The same exact job name works on Linux. The job-dsl plugin is presumably using the full pathname to the workspace to create the class which has a colon in it on windows.

      Our config looks like:
      {{
      <javaposse.jobdsl.plugin.ExecuteDslScripts plugin="job-dsl@1.57">
      <targets>dsl/*.dsl</targets>
      <usingScriptText>false</usingScriptText>
      <ignoreExisting>false</ignoreExisting>
      <ignoreMissingFiles>false</ignoreMissingFiles>
      <failOnMissingPlugin>false</failOnMissingPlugin>
      <unstableOnDeprecation>false</unstableOnDeprecation>
      <removedJobAction>DELETE</removedJobAction>
      <removedViewAction>DELETE</removedViewAction>
      <lookupStrategy>JENKINS_ROOT</lookupStrategy>
      </javaposse.jobdsl.plugin.ExecuteDslScripts>
      }}

            Assignee:
            Daniel Spilker
            Reporter:
            Ben Hines
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: