1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Build docs only for Pull Requests

The check whether the documentation build includes errors or warnings is
only necessary as a voter on the PR.
This commit is contained in:
Oliver Feldmann 2017-12-21 12:24:51 +01:00
parent 1f28e870fe
commit 613b2ad61d

View File

@ -4,4 +4,4 @@ install:
- pip install --user mkdocs mkdocs-material
script:
- mvn test -B
- cd documentation && mkdocs build --clean --verbose --strict
- if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then cd documentation && mkdocs build --clean --verbose --strict; fi;