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
gitcommand 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 -hon your agent using the parameters given to the CI configuration? There may be an issue with runninggiton your machine.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.