摘要: 文档 # 官方hello word https://plugins.jenkins.io/job-dsl/ https://jenkinsci.github.io/job-dsl-plugin/ # 【DSL文档】结合JCasC插件方法 https://github.com/jenkinsci/jo 阅读全文
posted @ 2021-07-15 17:26 该显示昵称已被使用了 阅读(75) 评论(0) 推荐(0) 编辑
摘要: https://plugins.jenkins.io/configuration-as-code/ 阅读全文
posted @ 2021-07-15 17:23 该显示昵称已被使用了 阅读(82) 评论(0) 推荐(0) 编辑
摘要: https://blog.51cto.com/wugang2126/1161801 (1)手动方式 这种方式很简单,设置端口成员链路两端的模式为“on”。 命令格式为: channel-group <number组号> mode on (2)自动方式 自动方式有两种协议: PAgP(Port Agg 阅读全文
posted @ 2021-07-15 17:03 该显示昵称已被使用了 阅读(121) 评论(0) 推荐(0) 编辑
摘要: def retry(int times = 5, Closure errorHandler = {e-> log.warn(e.message,e)} , Closure body) { int retries = 0 def exceptions = [] while(retries++ < ti 阅读全文
posted @ 2021-07-15 10:13 该显示昵称已被使用了 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://www.jenkins.io/blog/2017/10/02/pipeline-templates-with-shared-libraries/ 阅读全文
posted @ 2021-07-15 10:05 该显示昵称已被使用了 阅读(148) 评论(0) 推荐(0) 编辑