hudson.plugins.git.GitException: Failed to delete workspace

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Mr Cinquero, 1 year ago
Failed to delete workspace
via Jenkins JIRA by Mr Cinquero, 1 year ago
Failed to delete workspace
via ode-dev by Apache Jenkins Server, 1 year ago
Failed to delete workspace
via ode-dev by Apache Jenkins Server, 1 year ago
Failed to delete workspace
via Google Groups by ickersep@java.net (JIRA), 1 year ago
via ode-dev by Apache Jenkins Server, 1 year ago
Failed to delete workspace
java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters: /var/lib/jenkins/jobs/ext-jgit-3.3.0/workspace/org.eclipse.jgit.java7.test/target/tmp_7536346264520663349/??
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.io.File.toPath(File.java:2186)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.Util.isSymlinkJava7(Util.java:355)
at hudson.Util.isSymlink(Util.java:325)
at hudson.Util.deleteRecursive(Util.java:291)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at hudson.Util.deleteContentsRecursive(Util.java:203)
at hudson.Util.deleteRecursive(Util.java:292)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:327)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:845)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1320)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
at hudson.model.Run.execute(Run.java:1688)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.