add ubuntu
This commit is contained in:
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user