-
Bug
-
Resolution: Unresolved
-
Blocker
-
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.
[JENKINS-72121] Job-dsl "standalone" stop working from 1.82 version after rename
Description |
Original:
I could execute _job-dsl-core-1.81.1-standalone.jar_ without any problem with this command.
{quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.81.1-standalone.jar --help {quote} When I want to execute _job-dsl-core-1.82-jar-with-dependencies.jar_ with the same command then I will get a same error as we see in gerrit-job-dsl job {quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.82-jar-with-dependencies.jar --help {quote} Error: {quote}Exception in thread "main" java.io.FileNotFoundException: --help (No such file or directory) {quote} Please check and fix this issue. |
New:
I could execute _job-dsl-core-1.81.1-standalone.jar_ without any problem with this command.
{quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.81.1-standalone.jar --help {quote} When I want to execute _job-dsl-core-1.82-jar-with-dependencies.jar_ with the same command. {quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.82-jar-with-dependencies.jar --help {quote} Error: {quote}Exception in thread "main" java.io.FileNotFoundException: --help (No such file or directory) {quote} Please check and fix this issue. |
Description |
Original:
I could execute _job-dsl-core-1.81.1-standalone.jar_ without any problem with this command.
{quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.81.1-standalone.jar --help {quote} When I want to execute _job-dsl-core-1.82-jar-with-dependencies.jar_ with the same command. {quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.82-jar-with-dependencies.jar --help {quote} Error: {quote}Exception in thread "main" java.io.FileNotFoundException: --help (No such file or directory) {quote} Please check and fix this issue. |
New:
I could execute _job-dsl-core-1.81.1-standalone.jar_ without any problem with this command.
{quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.81.1-standalone.jar --help {quote} When I want to execute _job-dsl-core-1.82-jar-with-dependencies.jar_ with the same command. {quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.82-jar-with-dependencies.jar --help {quote} Error: {quote}Exception in thread "main" java.io.FileNotFoundException: --help (No such file or directory) {quote} I get same error with latest 1.85 version. {quote}java -Done-jar.main.class=org.codehaus.groovy.tools.FileSystemCompiler -jar job-dsl-core-1.85-jar-with-dependencies.jar --help {quote} Please check and fix this issue. |
Environment |
New:
OS: Ubuntu 18.04.6 LTS
Java version: openjdk 11.0.19 2023-04-18 |