Azure: Add missing "set -e" to docs job
authorTom Rini <trini@konsulko.com>
Fri, 7 Feb 2025 19:12:50 +0000 (13:12 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 10 Feb 2025 16:23:25 +0000 (10:23 -0600)
Without setting the shell flag to exit immediately when a command exists
with a non-zero status we can have the situation where the htmldocs
target fails with an error but the job will succeed due to infodocs
passing and being the last build target.

Signed-off-by: Tom Rini <trini@konsulko.com>
.azure-pipelines.yml

index db471e6..bd197cd 100644 (file)
@@ -89,6 +89,7 @@ stages:
       options: $(container_option)
     steps:
       - script: |
+          set -e
           virtualenv -p /usr/bin/python3 /tmp/venvhtml
           . /tmp/venvhtml/bin/activate
           pip install -r doc/sphinx/requirements.txt