Getting timeout error while performing git actions in jenkins console output:
Logs:
Cloning the remote Git repository 11:23:57 Cloning repository https://partner-github.com/devlopment/deploy.git 11:23:57 > git init /var/jenkins_home/workspace/Deployments/Deploy # timeout=10 11:23:57 Fetching upstream changes from 11:23:57 > git --version # timeout=10 11:23:58 > git --version # ‘git version 2.30.2’ 11:23:58 using GIT_ASKPASS to set credentials Github 11:23:58 > git fetch --tags --force --progress – +refs/heads/:refs/remotes/origin/ # timeout=10 11:24:01 > git config remote.origin.url https://partner-github.com/devlopment/deploy.git # timeout=10 11:24:01 > git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10 11:24:01 Avoid second fetch 11:24:01 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 11:24:01 Checking out Revision 4cb836abd37b01dd6db3299e493520ac73c16d07 (refs/remotes/origin/develop) 11:24:01 > git config core.sparsecheckout # timeout=10 11:24:01 > git checkout -f 4cb836abd37b01dd6db3299e493520ac62c16c07 # timeout=60 11:24:04 Commit message: “Update Jenkinsfile_deploy_test” 11:24:04 > git rev-list --no-walk 4cb836abd37b01dd6db3299e493520ac62c16c07 # timeout=10
I have tried checking git version and jenkins version in the instance where jenkins is hosted. All seems ok. Can’t seem to find the issue. Also I am new to jenkins pipeline