How to continue the stage in the Jenkins pipe, even if the assembly fails

So, I have a pipeline with several stages, and at each stage there are several assembly job processes. When I start the pipeline and some of the assemblies fail, the step fails and does not create other assemblies in the step. How can I get around this so that he builds the remaining tasks on stage?

+1
source share
1 answer

you can use the agreement

try { // your build steps } finally { // always run... } 
+1
source

Source: https://habr.com/ru/post/1269688/


All Articles