-
Bug
-
Resolution: Fixed
-
Major
-
None
When trying to build a job that uses the cleanup plugin with a pattern, I get the following exception (where I replaced the real job name with $job_name):
Deleting project workspace... FATAL: basedir /tmp/jenkins-root-ssh/workspace/$job_name does not exist. java.lang.IllegalStateException: basedir /tmp/jenkins-root-ssh/workspace/$job_name does not exist. at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:852) at hudson.plugins.ws_cleanup.Cleanup.invoke(Cleanup.java:30) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)
Creating the directory made it stop complaining.
- is duplicated by
-
JENKINS-11947 Delete Workspace Before Build with pattern fails when no workspace exists
- Resolved