摘要: pipeline { agent any options { durabilityHint 'PERFORMANCE_OPTIMIZED' timeout(time:5, unit: 'MINUTES') timestamps() skipStagesAfterUnstable() skipDefa 阅读全文
posted @ 2021-06-23 14:25 巴黎爱工作 阅读(78) 评论(0) 推荐(0) 编辑
摘要: //获取标准输出//第一种result = sh returnStdout: true ,script: "<shell command>"result = result.trim()//第二种result = sh(script: "<shell command>", returnStdout: 阅读全文
posted @ 2021-06-23 13:43 巴黎爱工作 阅读(2128) 评论(0) 推荐(0) 编辑