Summary
CI schedule triggered using a Git configuration fails with the following error message in the logs:
|
Note that the line number information may vary depending on your ECSCM-Git plugin version.
Solution
The failure occurred when your agent tried to run git ls-remote
. Please check the following:
-
Is git installed on this agent? The
git
command must be installed for the ECSCM-Git plugin to run successfully. -
Is the git version installed up to date?
-
Are you able to directly run
git ls-remote -h
on your agent using the parameters given to the CI configuration? There may be an issue with runninggit
on your machine.