On building jenkins project timeout after 10 minute error happens

git, jenkins

Solution

Edit your job configuration, and under git plugin section:

- Click "Add"

- Click "Advanced clone behaviours"

- Set the number of minutes you want in "Timeout (in minutes) for clone and fetch operation"

I recommend checking also the "shallow clone" option. It fetches only the last state of the repository (without the history), so it's much faster.

Problem

I am using jenkins to build my git remote project. The problem is log says 'timeout after 10 min'. Receiving object starts and at 56% something happens.

Original source