I have created and built Jenkins caused by git transactions and all that. An example log is as follows:
00:00:00.016 Building in workspace D:\SomeWorkspace
00:00:00.016 > C:\Program Files (x86)\Git\bin\git.exe rev-parse --is-inside-work-tree
00:00:00.047 Fetching changes from the remote Git repository
00:00:00.047 > C:\Program Files (x86)\Git\bin\git.exe config remote.origin.url http://usr:pwd@gitRepoAddress.git/git/Repo.git
00:00:00.063 Fetching upstream changes from http://usr@gitRepoAddress.git/git/Repo.git
00:00:00.063 > C:\Program Files (x86)\Git\bin\git.exe --version
00:00:00.234 using .gitcredentials to set credentials
00:00:00.234 > C:\Program Files (x86)\Git\bin\git.exe config --local credential.helper store --file=\"C:\Path\To\Temp\git2724877017172338447.credentials\" # timeout=10
00:00:00.250 > C:\Program Files (x86)\Git\bin\git.exe fetch --tags --progress http://usr@gitRepoAddress.git/git/Repo.git +refs/heads/*:refs/remotes/origin/*
What I would like to do is to see the output from these git commands so that I can do things like double check which version of git to use, see why it git fetchis slow, etc., but I can not find out how to display this additional output. Any ideas? When I run these commands from git - bash, which I installed in this window, it git fetchworks faster, and I'm not sure how to debug what is happening in Jenkins.
source
share