1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

run docs build for PRs in parallel to unit tests (#371)

This commit is contained in:
Christopher Fenner 2018-11-07 12:05:28 +01:00 committed by GitHub
parent e45e7ffd9b
commit 87bc3e9b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,14 +25,13 @@ jobs:
- JACOCO_SOURCE_PATH="src vars test" ./cc-test-reporter format-coverage target/site/jacoco/jacoco.xml --input-type jacoco
- ./cc-test-reporter upload-coverage
- mvn -DrepoToken=$COVERALLS_REPO_TOKEN org.eluder.coveralls:coveralls-maven-plugin:report
- stage: Docs
name: Build
- name: Docs Build
if: type = pull_request
install: docker pull squidfunk/mkdocs-material:3.0.4
script: docker run --rm -it -v ${TRAVIS_BUILD_DIR}:/docs -w /docs/documentation squidfunk/mkdocs-material:3.0.4 build --clean --verbose --strict
- name: Deploy
- stage: Docs
name: Deploy
if: repo = "SAP/jenkins-library" AND branch = master AND NOT type = pull_request
install:
- docker pull squidfunk/mkdocs-material:3.0.4