Is it possible to somehow get the number of commits in TeamCity?
Something like:
git rev-list --count <ветка> Or how to execute this command from TeamCity?
Is it possible to somehow get the number of commits in TeamCity?
Something like:
git rev-list --count <ветка> Or how to execute this command from TeamCity?
The number of commits can only be seen from the moment the configuration is created:
You can also run this command. TeamCity offers a large number of runners. specifically for this command, you can run Command Line (CMD \ bash)
only comms, that on the server or agent where you execute the command, Git must be installed and registered in the path 
Path to Git : C:\Program Files\Git\bin\git.exe . Trying to run, but an error occurs: git не является внутренней или внешней командой, исполняемой программой или пакетным файлом. - romka.pm Nov.Source: https://ru.stackoverflow.com/questions/592528/
All Articles