随笔分类 -  JenkinsPipeline

摘要: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)
摘要:pipeline里面的数据只能是字符串或者数字,其他不能被序列化的参数会报错 https://stackoverflow.com/questions/37864542/jenkins-pipeline-notserializableexception-groovy-json-internal-laz 阅读全文
posted @ 2021-10-08 15:15 该显示昵称已被使用了 阅读(420) 评论(0) 推荐(0)
摘要:timeout机制以及异常捕获 https://e.printstacktrace.blog/how-to-time-out-jenkins-pipeline-stage-and-keep-the-pipeline-running/ pipeline { agent any options{ tim 阅读全文
posted @ 2021-05-06 17:10 该显示昵称已被使用了 阅读(1289) 评论(0) 推荐(0)