diff --git a/Jenkinsfile b/Jenkinsfile index af9e9a7..69f224c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,18 +37,26 @@ node { } } sh "docker system prune -f" - stage("PIP doc") { - agent { - label 'master' - } - checkout scm - sh "rm -rf share" - sh "rm -v *.zip" - sh "mkdir -p build" - sh "cd build && cmake -DLIB=0 -DCMAKE_INSTALL_PREFIX=`pwd` ../" - sh "cd build && make doc" - sh "cd share/doc && zip -r ../../pip_doc.zip pip" - archiveArtifacts 'pip_doc.zip' - } echo "${_msg}" } +pipeline { + agent { + label 'master' + } + stages { + stage("PIP doc") { + steps { + checkout scm + sh "rm -rf share" + sh "rm -vf *.zip" + sh "mkdir -p build" + sh "cd build && cmake -DLIB=0 -DCMAKE_INSTALL_PREFIX=`pwd` ../" + sh "cd build && make doc" + sh "cd share/doc && zip -r ../../pip_doc.zip pip" + sh "cp share/doc/pip/html/index.qhp pip_doc.qhp" + archiveArtifacts 'pip_doc.zip' + archiveArtifacts 'pip_doc.qhp' + } + } + } +}