随笔分类 - JenkinsPipeline
摘要:agent配置 agent{ // node "xxx" node "master" } // agent any 多node并发【同步】 pipeline{ agent none options{ timestamps() } stages{ stage('1'){ agent{ node "1"
阅读全文
摘要:pipeline里面的数据只能是字符串或者数字,其他不能被序列化的参数会报错 https://stackoverflow.com/questions/37864542/jenkins-pipeline-notserializableexception-groovy-json-internal-laz
阅读全文
摘要:timeout机制以及异常捕获 https://e.printstacktrace.blog/how-to-time-out-jenkins-pipeline-stage-and-keep-the-pipeline-running/ pipeline { agent any options{ tim
阅读全文
浙公网安备 33010602011771号