Hi All,

I use the Sphinx tool to build documentation for my projects and I'm trying to get Jenkins jobs running that build all the docs as commits are made so that I can check I haven't committed any breaks to the documentation and also to have a development version of the docs online.

Unfortunately, even when there are errors or warnings, Sphinx returns an exit code of 0, which the Shell builder considers to be okay.

How can I get this job to fail when there are certain phrases (Error|Warning) in the output of running sphinx_build?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

Reply via email to