From 08f2c73ca3c108c1648681cb437ca1102029ea5b Mon Sep 17 00:00:00 2001 From: LukasK13 Date: Tue, 21 Jul 2020 13:56:58 +0200 Subject: [PATCH] stash added --- Jenkinsfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a0cd38b..2b84db0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,16 +29,13 @@ pipeline { sh 'rm -rf ${BUILD_DIR}' sh 'rm -f ${SPHINX_DIR}/sphinx-build.log' sh 'ls' - sh 'pyenv/bin/sphinx-build -b html docs/source docs/build/html' - /* sh ''' - ${WORKSPACE}/pyenv/bin/sphinx-build \ - -q -w ${SPHINX_DIR}/sphinx-build.log \ - -b html \ - -d ${SPHINX_DIR}/${BUILD_DIR}/doctrees ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR} + pyenv/bin/sphinx-build \ + -w ${SPHINX_DIR}/sphinx-build.log \ + -b html ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR} ''' - */ - archiveArtifacts 'docs/build/html/**/*.*' + stash includes: 'docs/build/html/**/*.*', name: 'html' + // archiveArtifacts 'docs/build/html/**/*.*', onlyIfSuccessful: true } post { failure {