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

Job-dsl "standalone" stop working from 1.82 version after rename

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • job-dsl-plugin
    • None
    • OS: Ubuntu 18.04.6 LTS
      Java version: openjdk 11.0.19 2023-04-18

      I could execute job-dsl-core-1.81.1-standalone.jar without any problem with this command.

      java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.81.1-standalone.jar --help

      When I want to execute job-dsl-core-1.82-jar-with-dependencies.jar with the same command.

      java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.82-jar-with-dependencies.jar --help

      Error:

      Exception in thread "main" java.io.FileNotFoundException: --help (No such file or directory)

      I get same error with latest 1.85 version.

      java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.85-jar-with-dependencies.jar --help

      Please check and fix this issue.

            jamietanna Jamie Tanna
            gabor523 Gabor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: