Jenkinsfile, pip
This commit is contained in:
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
@@ -49,30 +49,3 @@ node {
|
||||
archiveArtifacts 'release/*'
|
||||
echo "${_msg}"
|
||||
}
|
||||
pipeline {
|
||||
agent {
|
||||
label 'master'
|
||||
}
|
||||
options {
|
||||
copyArtifactPermission('*');
|
||||
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
|
||||
}
|
||||
stages {
|
||||
stage("PIP doc") {
|
||||
steps {
|
||||
checkout scm
|
||||
sh "rm -rf share"
|
||||
sh "rm -vf *.zip"
|
||||
sh "mkdir -p build"
|
||||
sh "cd build && cmake -DLOCAL=1 -DCMAKE_INSTALL_PREFIX=`pwd` -DDOC_LANG=English -DDOC_DIR=en ../ && make doc"
|
||||
sh "cd build && cmake -DLOCAL=1 -DCMAKE_INSTALL_PREFIX=`pwd` -DDOC_LANG=Russian -DDOC_DIR=ru ../ && make doc"
|
||||
sh "cd share/doc && zip -r ../../pip_doc.zip pip"
|
||||
sh "cp share/doc/pip/html/en/pip_en.qch ./"
|
||||
sh "cp share/doc/pip/html/ru/pip_ru.qch ./"
|
||||
archiveArtifacts 'pip_doc.zip'
|
||||
archiveArtifacts 'pip_en.qch'
|
||||
archiveArtifacts 'pip_ru.qch'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
pip
2
pip
Submodule pip updated: 831f202536...39e4d9a73c
Reference in New Issue
Block a user