The syntax of the pipeline Jenkins

If untreated, pipeline: stages in a stage of any failure, it will cause the following stage fail, then the approach is:

1, stage add the try catch statement in what could be wrong

如:try{} catch(exc){}

Note that this statement should be added to catch exceptions in the Script

Guess you like

Origin www.cnblogs.com/liudieluo/p/11459506.html