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

Groovy extension Command doesn't create the temp file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • groovy-plugin
    • Jenkins 2.387.3
      Groovy
      Version453.vcdb_a_c5c99890

      I add a job to clean workspace folder as a groovy Command. When I try to run it I have the following error:

      Running as SYSTEM
      Building on the built-in node in workspace /var/lib/jenkins/workspace/Cleanup_Old_Workspace
      [Cleanup_Old_Workspace] $ groovy /var/lib/jenkins/workspace/Cleanup_Old_Workspace/hudson14481665589664415602.groovy
      FATAL: command execution failed
      java.io.IOException: Cannot run program "groovy" (in directory "/var/lib/jenkins/workspace/Cleanup_Old_Workspace"): error=2, No such file or directory

            vjuranek vjuranek
            sbextern Serge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: