jenkins pipeline中,失败后获取异常不中断业务
摘要:1. jenkins中,某一个步骤出现了错误,不中继续进行。放在pipeline的stage或者steps中即可 catchError(buildResult: 'SUCCESS', message: 'git 拉取失败') { // 业务代码 withCredentials([string(cre
阅读全文
posted @ 2021-02-26 16:16
posted @ 2021-02-26 16:16
posted @ 2021-02-19 15:12
posted @ 2020-11-23 17:13
posted @ 2020-10-22 17:13
posted @ 2019-03-05 16:33