Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 633 Bytes

index.rst

File metadata and controls

22 lines (15 loc) · 633 Bytes

Skip a build based on command exit code

Use build.jobs.post_checkout to execute a Git command and check if there are changes in the docs/ directory. If there aren't changes, we return 439 exit code to cancel the build immediately.


Sphinx configuration file used to build this docs (see full file <conf>),

conf.py


pycon

>>> # Build at >>> import datetime >>> datetime.datetime.utcnow() # UTC