How to make a publishing object fail when some custom validation criteria is not met using SDL Tridion publish plugin

Hi Developers,

I want to make the publishing status as failed when a custom validation is not passed in SDL publish plugin. Anybody know which is the API method  i need to use to make the publishing object failed or exit the publishing with failed status?

Thanks in advance.

Roopesh

Parents Reply Children