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

sshGet: java.io.IOException: WORKSPACE does not exist.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ssh-steps-plugin
    • None
    • Jenkins 2.263.4
      ssh-steps-plugin 2.0.0

      Running cleanWs() just before a sshGet() will result in:

      java.io.IOException: WORKSPACE does not exist.
       at hudson.FilePath.glob(FilePath.java:2079)
       at hudson.FilePath.access$3400(FilePath.java:213)
       at hudson.FilePath$ListGlob.invoke(FilePath.java:2053)
       at hudson.FilePath$ListGlob.invoke(FilePath.java:2041)
       at hudson.FilePath.act(FilePath.java:1163)
       at hudson.FilePath.act(FilePath.java:1146)
       at hudson.FilePath.list(FilePath.java:2039)
       at hudson.FilePath.list(FilePath.java:2023)
       at org.jenkinsci.plugins.pipeline.utility.steps.fs.FindFilesStepExecution.run(FindFilesStepExecution.java:63)
       at org.jenkinsci.plugins.pipeline.utility.steps.fs.FindFilesStepExecution.run(FindFilesStepExecution.java:44)
       at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
       at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
       at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
       at java.base/java.lang.Thread.run(Thread.java:834)
      

            nrayapati Naresh Rayapati
            gordin Christoph VogtlÃĪnder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: