Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins Git global timeout change

One of our jobs runs timeout at the following command:

git checkout -f <commit>

The timeout is 10 minutes by default. I tried to execute it manually, it takes a bit more than 10 minutes. I set it to 20 minutes in the job's configure menu, but it doesn't work.

Advanced checkout behaviours:

Timeout (in minutes) for checkout operation: 20

Our Git Plugin version is 2.3.4. I read some posts about downgrade the version, but currently i can't try this option (i'm not allowed), so i decided to set the global timeout value.

Can someone tell me how to do this (in jenkins-slave.xml or command line)?

like image 335
Dávid Mészáros Avatar asked Feb 13 '26 04:02

Dávid Mészáros


1 Answers

My Git plugin version is 2.3.5 and below configurations works for me.

Additional Behaviours-->Advanced checkout behaviours-->
Timeout (in minutes) for checkout operation: 20

enter image description here

like image 126
mainframer Avatar answered Feb 14 '26 19:02

mainframer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!