monorepo-diff-buildkite-plugin icon indicating copy to clipboard operation
monorepo-diff-buildkite-plugin copied to clipboard

How to allow a triggered pipeline to fail?

Open giorgenes opened this issue 3 years ago • 3 comments

I'm triggering a pipeline with custom env variables that I would like to allow to soft_fail so it doesn't fail my parent pipeline. Is there a way to do that?

Thanks in advance!

giorgenes avatar Nov 09 '21 04:11 giorgenes

@giorgenes You can try the soft_fail to see if it works. I have not tested it before but I think it should work. Let me know how you go. https://buildkite.com/changelog/56-command-steps-can-now-be-made-to-soft-fail

adikari avatar Nov 09 '21 06:11 adikari

@adikari I tried but it seems to be removed from the plugin output. Also buildkite docs don't mention usage with trigger

giorgenes avatar Nov 09 '21 07:11 giorgenes

@giorgenes makes sense. Might need to update the plugin to generate pipeline with the flag. I will mark this as a enhancement and hopefully can add at some point. Feel free to send a PR if you like.

adikari avatar Nov 09 '21 09:11 adikari