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

34
Jenkinsfile vendored
View File

@@ -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'
}
}
}
}