Jenkinsfile

This commit is contained in:
2020-05-28 14:44:20 +03:00
parent 2945c07a31
commit 3c94cce018

20
Jenkinsfile vendored
View File

@@ -32,7 +32,7 @@ node {
for (int i = 0; i < platforms.size(); ++i) {
if (_envmap["BUILD_${platforms[i]}"] == "1") {
stage("${platforms[i]}-libs") {
_msg += build_docker("${platforms[i]}")
//_msg += build_docker("${platforms[i]}")
}
}
}
@@ -41,14 +41,16 @@ node {
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'
steps {
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}"
}