-
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.
`Cannot run program "git" No such file or directory`
Do you have git installed in docker image used as build agent ?