hudson.plugins.git.GitException: Could not init C:\Program Files (x86)\Jenkins\jobs\demoTest\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

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

Solutions on the web

via Jenkins JIRA by himanshu k, 1 year ago
Could not init C:\Program Files (x86)\Jenkins\jobs\demoTest\workspace
via Jenkins JIRA by himanshu k, 1 year ago
Could not init C:\Program Files (x86)\Jenkins\jobs\demoTest\workspace
via GitHub by rneatherway
, 1 year ago
Could not init /usr/local
via Stack Overflow by user3812054
, 1 year ago
Could not init C:\Users\m.kothamasu\.jenkins\jobs\gvp web\workspace
via Jenkins JIRA by Trevor Baker, 1 year ago
Could not init /home/ec2-user/jenkins/workspace/job
via Jenkins JIRA by Trevor Baker, 1 year ago
Could not init /home/ec2-user/jenkins/workspace/job
java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.(Proc.java:244)
at hudson.Proc$LocalProc.(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:816)
at hudson.Launcher$ProcStarter.start(Launcher.java:382)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1636)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1616)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1612)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1254)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$4.execute(CliGitAPIImpl.java:604)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:462)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1275)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

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