add ubuntu

This commit is contained in:
2020-09-17 16:54:38 +03:00
parent ae2ee384e7
commit 5049b8e055

15
Jenkinsfile vendored
View File

@@ -19,6 +19,21 @@ pipeline {
sh 'rm -rf ./build ./bin ./release ./builds'
}
}
stage('Ubuntu') {
agent {
docker { image 'ubuntu-shstk' }
}
steps {
echo 'build Linux'
sh "rm -rf ./release"
sh "mkdir -p build"
sh "cd build && rm -rf ./* && cmake -DBUILD_NUMBER=${env.BUILD_NUMBER} -DLIB=0 ../src"
sh "cd build && make install -j${JOBS_COUNT}"
sh "cd build && make deploy"
archiveArtifacts 'release/Linux/*/*.deb'
sh 'rm -rf ./build ./bin ./release ./builds'
}
}
stage('Windows') {
agent {
docker { image 'windows-shstk' }