When using a remote git repository in Botium and it constantly keeps failing with a message containing git error 128, you can try the following to verify Git connectivity
- Open a shell to the Botium Server or Botium Agent containers and run these
command:
git config --global http.proxy http://<username>:<password>@<proxy-server-url>:<port>
-
If you are using a self-signed SSL certificate, or an SSL certificate signed by a non-standard authority, you can disable the SSL verification by adding this line:
git config --global http.sslVerify false
See this article for more configuration examples.Warning: When running a Botium update or when recreating the containers, those settings will be lost.
Path Name Too Long
When on Windows and the git repository is nested deeply, it can happen that the path names are too long for the Windows system. What you can do to shorten the path is to modify the BOTIUM_TEMPDIR environment variable to something very short. This is the directory for Botium to place temporary files, and Git repositories are checked out there by default.
By default, it points to the botiumwork directory under the installation directory, and depending where you installed it, the total absolute path can get pretty long.
Set it to something like /tmp/botium or C:\Temp\Botium.