当前位置:网站首页>[问题已处理]-jenkins流水线checkout超时
[问题已处理]-jenkins流水线checkout超时
2022-08-05 05:22:00 【爷来辣】
导语:jenkins checkout的时候超时。10分钟不够长

修改checkout部分如下 加上CheckoutOption
checkout([$class : 'GitSCM',
branches : [[name: "${BRANCH}"]],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: false, timeout: 60000],[$class:'CheckoutOption',timeout:60000]],
userRemoteConfigs: [[credentialsId: '81f18226-d36e-4a0e-bd0e-b936843ae77b',
url : "http://xxx.git",]]
])
参考
https://www.programminghunter.com/article/2040743440/
https://blog.51cto.com/shoufu/5325294
https://www.codeleading.com/article/23974906101/
边栏推荐
- markdown editor template
- 入门文档08 条件插件
- Operation and maintenance engineer, come and pick up the wool
- [Day5] Soft and hard links File storage, deletion, directory management commands
- NIO工作方式浅析
- This is indeed the best article on microservice architecture I have read!
- 入门文档04 一个任务依赖另外一个任务时,需要按顺序执行
- ACLs and NATs
- 7 steps to complete cloud monitoring
- Xiaodu Xiaodu is here!
猜你喜欢

LinkSLA insists that users come first and creates a sustainable operation and maintenance service plan

ACLs and NATs

Configuration of TensorFlow ObjecDetectionAPI under Anaconda3 of win10 system

云计算——osi七层与TCP\IP协议

Hugo builds a personal blog
![[Day6] File system permission management, file special permissions, hidden attributes](/img/ec/7fb3fa671fac8abf389844c0f4fbe7.png)
[Day6] File system permission management, file special permissions, hidden attributes

RAID磁盘阵列

By solving these three problems, the operation and maintenance efficiency will exceed 90% of the hospital

Getting Started 04 When a task depends on another task, it needs to be executed in sequence

What's the point of monitoring the involution of the system?
随机推荐
What should I do if the SSL certificate prompts that it is expired or invalid?
lvm logical volume and disk quota
Mongodb query analyzer parsing
js动态获取屏幕宽高度
Getting Started 03 Distinguish between development and production environments ("hot update" is performed only in the production environment)
LinkSLA坚持用户第一,打造可持续的运维服务方案
spark operator-textFile operator
LeetCode Interview Questions
What are some things that you only know when you do operation and maintenance?
Image compression failure problem
What impact does CIPU have on the cloud computing industry?
IP地址及子网的划分
time complexity and space complexity
Small example of regular expression--remove spaces in the middle and on both sides of the string
正则表达式小实例--去掉字符串中间和两边的空格
Spark source code - task submission process - 6-sparkContext initialization
The idea of commonly used shortcut key
Hugo搭建个人博客
入门文档11 自动添加版本号
Spark source code-task submission process-6.2-sparkContext initialization-TaskScheduler task scheduler