This commit is contained in:
2020-06-02 13:06:08 +03:00

14
Jenkinsfile vendored
View File

@@ -37,18 +37,26 @@ node {
} }
} }
sh "docker system prune -f" sh "docker system prune -f"
stage("PIP doc") { echo "${_msg}"
}
pipeline {
agent { agent {
label 'master' label 'master'
} }
stages {
stage("PIP doc") {
steps {
checkout scm checkout scm
sh "rm -rf share" sh "rm -rf share"
sh "rm -v *.zip" sh "rm -vf *.zip"
sh "mkdir -p build" sh "mkdir -p build"
sh "cd build && cmake -DLIB=0 -DCMAKE_INSTALL_PREFIX=`pwd` ../" sh "cd build && cmake -DLIB=0 -DCMAKE_INSTALL_PREFIX=`pwd` ../"
sh "cd build && make doc" sh "cd build && make doc"
sh "cd share/doc && zip -r ../../pip_doc.zip pip" 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.zip'
archiveArtifacts 'pip_doc.qhp'
}
}
} }
echo "${_msg}"
} }