Path updated
Some checks failed
esbo_ds/ESBO-ETC/pipeline/head There was a failure building this commit
Some checks failed
esbo_ds/ESBO-ETC/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a611257dbb
commit
b618b9cbab
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -7,8 +7,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
SPHINX_DIR = 'docs'
|
SPHINX_DIR = 'docs'
|
||||||
BUILD_DIR = 'docs/build'
|
BUILD_DIR = 'build/html'
|
||||||
SOURCE_DIR = 'docs/source'
|
SOURCE_DIR = 'source'
|
||||||
DEPLOY_HOST = 'deployer@www.example.com:/path/to/docs/'
|
DEPLOY_HOST = 'deployer@www.example.com:/path/to/docs/'
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
@ -28,13 +28,14 @@ pipeline {
|
|||||||
// clear out old files
|
// clear out old files
|
||||||
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 ${WORKSPACE}'
|
||||||
sh '''
|
sh '''
|
||||||
${WORKSPACE}/pyenv/bin/sphinx-build \
|
${WORKSPACE}/pyenv/bin/sphinx-build \
|
||||||
-q -w ${SPHINX_DIR}/sphinx-build.log \
|
-q -w ${SPHINX_DIR}/sphinx-build.log \
|
||||||
-b html \
|
-b html \
|
||||||
-d ${BUILD_DIR}/doctrees ${SOURCE_DIR} ${BUILD_DIR}
|
-d ${SPHINX_DIR}/${BUILD_DIR}/doctrees ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR}
|
||||||
'''
|
'''
|
||||||
archiveArtifacts 'docs/build'
|
archiveArtifacts 'docs/build/html'
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
failure {
|
failure {
|
||||||
|
Loading…
Reference in New Issue
Block a user