How to continue a Jenkins build even though a build step failed?

后端 未结 2 651
有刺的猬
有刺的猬 2021-01-21 07:52

I am using a Phing build script with Jenkins and would like to run it end to end on a job and capture all the reports. The problem is it stop building on a failed build step. Is

2条回答
  •  花落未央
    2021-01-21 08:24

    I don't know a lot about Phing but, since it's based on Ant, if the build step you are executing has a "failonerror" attribute you should be able to set it to false so that the entire build doesn't fail if the step returns an error.

提交回复
热议问题