-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
-
CoreOS
Docker Image :evarga/jenkins-slave
A Docker Pipeline with Cloud>Docker is not able to run a Jenkins pipeline in the Docker container provisioned on a different CoreOS instance. Docker container gets provisioned but build generates the following error.
{{ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Could not init /home/jenkins/workspace/docker-plugin-pipeline
Caused by: java.io.IOException: Cannot run program "git" (in directory "/home/jenkins/workspace/docker-plugin-pipeline"): error=2, No such file or directory}}
Configuring a different PATH for git /usr/bin/git in Configure System does not fix the issue.
[JENKINS-40192] java.io.IOException: Cannot run program "git" (in directory "/home/jenkins/workspace/pipeline"): error=2, No such file or directory
Summary | Original: Caused by: java.io.IOException: Cannot run program "git" (in directory "/home/jenkins/workspace/pipeline"): error=2, No such file or directory | New: java.io.IOException: Cannot run program "git" (in directory "/home/jenkins/workspace/pipeline"): error=2, No such file or directory |
Environment | Original: CoreOS |
New:
CoreOS Docker Image :evarga/jenkins-slave |
Component/s | Original: github-plugin [ 15896 ] |
Assignee | Original: magnayn [ magnayn ] | New: Nicolas De Loof [ ndeloof ] |
Priority | Original: Minor [ 4 ] | New: Blocker [ 1 ] |
`Cannot run program "git" No such file or directory`
Do you have git installed in docker image used as build agent ?