Jenkinsfile
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -32,7 +32,7 @@ node {
|
|||||||
for (int i = 0; i < platforms.size(); ++i) {
|
for (int i = 0; i < platforms.size(); ++i) {
|
||||||
if (_envmap["BUILD_${platforms[i]}"] == "1") {
|
if (_envmap["BUILD_${platforms[i]}"] == "1") {
|
||||||
stage("${platforms[i]}-libs") {
|
stage("${platforms[i]}-libs") {
|
||||||
_msg += build_docker("${platforms[i]}")
|
//_msg += build_docker("${platforms[i]}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -41,14 +41,16 @@ node {
|
|||||||
agent {
|
agent {
|
||||||
label 'master'
|
label 'master'
|
||||||
}
|
}
|
||||||
checkout scm
|
steps {
|
||||||
sh "rm -rf share"
|
checkout scm
|
||||||
sh "rm -v *.zip"
|
sh "rm -rf share"
|
||||||
sh "mkdir -p build"
|
sh "rm -v *.zip"
|
||||||
sh "cd build && cmake -DLIB=0 -DCMAKE_INSTALL_PREFIX=`pwd` ../"
|
sh "mkdir -p build"
|
||||||
sh "cd build && make doc"
|
sh "cd build && cmake -DLIB=0 -DCMAKE_INSTALL_PREFIX=`pwd` ../"
|
||||||
sh "cd share/doc && zip -r ../../pip_doc.zip pip"
|
sh "cd build && make doc"
|
||||||
archiveArtifacts 'pip_doc.zip'
|
sh "cd share/doc && zip -r ../../pip_doc.zip pip"
|
||||||
|
archiveArtifacts 'pip_doc.zip'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
echo "${_msg}"
|
echo "${_msg}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user