1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

added gocache path to tmp

This commit is contained in:
Sascha Vornheder 2019-11-26 09:04:35 +01:00
parent 4291a55bf1
commit 3ac13f4c02

View File

@ -55,7 +55,7 @@ jobs:
install: docker pull squidfunk/mkdocs-material:3.0.4
before_script:
- documentation/bin/createDocu.sh
- docker run -u `id -u`:`id -g` --rm -it -v ${TRAVIS_BUILD_DIR}:/docu-gen golang sh -c "go get github.com/SAP/jenkins-library@${TRAVIS_BRANCH} && go run /docu-gen/pkg/generator/step-metadata.go --docuDir=/docu-gen/documentation/docs/steps --docuGen=true "
- docker run -u `id -u`:`id -g` --rm -it -e GOCACHE=/tmp -v ${TRAVIS_BUILD_DIR}:/docu-gen golang sh -c "go get github.com/SAP/jenkins-library/... && go run /docu-gen/pkg/generator/step-metadata.go --docuDir=/docu-gen/documentation/docs/steps --docuGen=true "
script:
- docker run -u `id -u`:`id -g` --rm -it -v ${TRAVIS_BUILD_DIR}/documentation:/docs squidfunk/mkdocs-material:3.0.4 build --clean --strict
after_script: