随笔分类 -  Jenkins

摘要:agent配置 agent{ // node "xxx" node "master" } // agent any 多node并发【同步】 pipeline{ agent none options{ timestamps() } stages{ stage('1'){ agent{ node "1" 阅读全文
posted @ 2021-10-28 09:48 该显示昵称已被使用了 阅读(660) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-06-30 14:18 该显示昵称已被使用了 阅读(82) 评论(0) 推荐(0)
摘要:test 阅读全文
posted @ 2021-05-24 20:13 该显示昵称已被使用了 阅读(37) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/28080975 临时方案 # Manage Jenkins->Script console,输入如下命令并进行执行。 System.setProperty("hudson.model.DirectoryBrowserSupport.CSP" 阅读全文
posted @ 2021-05-22 21:50 该显示昵称已被使用了 阅读(68) 评论(0) 推荐(0)
摘要:配置和插件 # 插件 Extended E-mail Notification Email Extension Template Plugin #模板地址 https://github.com/jenkinsci/email-ext-plugin/tree/master/src/main/resou 阅读全文
posted @ 2021-05-16 16:13 该显示昵称已被使用了 阅读(155) 评论(0) 推荐(0)
摘要:设置Build Triggers Build after other projects are built (Trigger even if the build fails) 配置Pipeline pipeline{ agent any options{ timestamps() } stages{ 阅读全文
posted @ 2021-05-06 16:13 该显示昵称已被使用了 阅读(254) 评论(0) 推荐(0)
摘要:自动触发器 Generic Webhook Trigge 阅读全文
posted @ 2021-04-30 21:17 该显示昵称已被使用了 阅读(27) 评论(0) 推荐(0)
摘要:配置并发数 https://www.cnblogs.com/ycyzharry/p/6832324.html 权限配置 安装blue ocean https://www.jenkins.io/zh/doc/book/blueocean/getting-started/ 阅读全文
posted @ 2021-03-10 13:34 该显示昵称已被使用了 阅读(40) 评论(0) 推荐(0)
摘要:Script Console 中输入如下的脚本 def jobName = "picEachBackUP" def maxNumber = 100 Jenkins.instance.getItemByFullName(jobName).builds.findAll { it.number <= ma 阅读全文
posted @ 2021-03-07 21:09 该显示昵称已被使用了 阅读(292) 评论(0) 推荐(0)