当前位置:网站首页>[问题已处理]-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/
边栏推荐
猜你喜欢

Hard Disk Partitioning and Permanent Mounting

VRRP概述及实验

VLAN详解及实验

Introductory document 05-2 use return instructions the current task has been completed

入门文档06 向流(stream)中添加文件

spark source code-RPC communication mechanism

深度 Zabbix 使用指南——来自惨绿少年

Getting Started Doc 08 Conditional Plugins

Small example of regular expression--validate email address

Getting Started Documentation 10 Resource Mapping
随机推荐
运维工程师,快来薅羊毛
NAT实验
硬盘分区和永久挂载
js dynamically get screen width and height
Mongodb查询分析器解析
Tencent Cloud Message Queue CMQ
线上问题排查流程
运维的高光时刻,从智能化开始
IP数据包格式(ICMP协议与ARP协议)
账号与权限管理
The problem come from line screening process
[Paper Intensive Reading] The relationship between Precision-Recall and ROC curves
入门文档10 资源映射
I217-V network disconnection problem in large traffic under openwrt soft routing
入门文档04 一个任务依赖另外一个任务时,需要按顺序执行
Network wiring and digital-to-system conversion
LinkSLA insists that users come first and creates a sustainable operation and maintenance service plan
spark operator-textFile operator
TCP/IP four-layer model
Growth: IT Operations Trends Report