Started by user GermanCoding Running as SYSTEM Building in workspace /var/jenkins_home/workspace/HelloWorld The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/HelloWorld/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/drlehr/Java_Gradle_Hello_World.git # timeout=10 Fetching upstream changes from https://github.com/drlehr/Java_Gradle_Hello_World.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- https://github.com/drlehr/Java_Gradle_Hello_World.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision db030e9d7c07080fe3f3925dbb11457e55adf240 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f db030e9d7c07080fe3f3925dbb11457e55adf240 # timeout=10 Commit message: "Update HelloWorld.java" > git rev-list --no-walk db030e9d7c07080fe3f3925dbb11457e55adf240 # timeout=10 [Gradle] - Launching build. [HelloWorld] $ gradle dist FATAL: command execution failed java.io.IOException: Cannot run program "gradle" (in directory "/var/jenkins_home/workspace/HelloWorld"): error=2, No such file or directory at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) at hudson.Proc$LocalProc.<init>(Proc.java:252) at hudson.Proc$LocalProc.<init>(Proc.java:221) at hudson.Launcher$LocalLauncher.launch(Launcher.java:995) at hudson.Launcher$ProcStarter.start(Launcher.java:507) at hudson.Launcher$ProcStarter.join(Launcher.java:518) at hudson.plugins.gradle.Gradle.perform(Gradle.java:317) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514) at hudson.model.Run.execute(Run.java:1888) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:99) at hudson.model.Executor.run(Executor.java:431) Caused by: java.io.IOException: error=2, No such file or directory at java.base/java.lang.ProcessImpl.forkAndExec(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107) ... 16 more Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Archiving artifacts Finished: FAILURE