How To Increase Git Clone Timeout in Jenkins Pipeline

preview_player
Показать описание
Need help with your Jenkins questions?

Timecodes ⏱:

00:00 Introduction
00:06 Overview
00:21 Starting point
00:39 Review gist
01:13 Review job run with default timeout
01:51 Review clone behavior configuration
02:30 Compare Jenkinsfiles
02:51 Review job run with modified timeout

#jenkinstutorial

Information referenced in this video:

Gist

Jenkins LTS 2.346.2

CloudBees on Twitter:

Darin on Twitter:
Рекомендации по теме
Комментарии
Автор

Works fine for checkout, but what about the CleanBeforeCheckout which doesn't have the timeout option and defaults to 10 minutes?

JimboAutomates
Автор

That doesn't work in multibranch project.

Another problem is that multibranch project downloads the git repo into /var/Jenkins/cache rather than the workspace you specified. My repo is too large to fit in /var.

Anyone got the same issue ?

-kl