2
私はジェンキンスパイプラインのジョブで使用されるジェンキンススクリプトを、持っている:Jenkinsfile並列分岐して複数の例外を捕捉するためにどのように
try{
parallel branch1: {
//some function that may throw exception
}, branch2: {
//some function that may throw exception
}, branch3: {
//some function that may throw exception
}
}catch(Exception e){
//gather the error information together (if there 1 error then just it, if there are 2 errors then concatenate 2 errors together, etc) and print it.
}
はどうすればこれを行うことができますか?または私はこれを行うことはできません?