On building jenkins project timeout after 10 minute error happens

前端 未结 3 1928
日久生厌
日久生厌 2021-02-02 05:21

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.

3条回答
  •  天命终不由人
    2021-02-02 06:17

    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.

提交回复
热议问题