This commit is contained in:
parent
d3a0fa4745
commit
08f2c73ca3
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -29,16 +29,13 @@ pipeline {
|
|||||||
sh 'rm -rf ${BUILD_DIR}'
|
sh 'rm -rf ${BUILD_DIR}'
|
||||||
sh 'rm -f ${SPHINX_DIR}/sphinx-build.log'
|
sh 'rm -f ${SPHINX_DIR}/sphinx-build.log'
|
||||||
sh 'ls'
|
sh 'ls'
|
||||||
sh 'pyenv/bin/sphinx-build -b html docs/source docs/build/html'
|
|
||||||
/*
|
|
||||||
sh '''
|
sh '''
|
||||||
${WORKSPACE}/pyenv/bin/sphinx-build \
|
pyenv/bin/sphinx-build \
|
||||||
-q -w ${SPHINX_DIR}/sphinx-build.log \
|
-w ${SPHINX_DIR}/sphinx-build.log \
|
||||||
-b html \
|
-b html ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR}
|
||||||
-d ${SPHINX_DIR}/${BUILD_DIR}/doctrees ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR}
|
|
||||||
'''
|
'''
|
||||||
*/
|
stash includes: 'docs/build/html/**/*.*', name: 'html'
|
||||||
archiveArtifacts 'docs/build/html/**/*.*'
|
// archiveArtifacts 'docs/build/html/**/*.*', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user