trying to specify nodes

This commit is contained in:
kakwa 2017-04-25 09:58:11 +02:00
parent fce9da1e3a
commit 5a1ba70924
1 changed files with 27 additions and 23 deletions

50
Jenkinsfile vendored
View File

@ -1,35 +1,39 @@
pipeline { pipeline {
agent any agent none
stages { stages {
stage('error') { stage('Compile') {
steps { steps {
parallel( parallel(
"openbsd-6.1": { "OpenBSD 6.1": {
git 'https://github.com/kakwa/uts-server' node('openbsd-6.1') {
sh 'cmake . -DBUNDLE_CIVETWEB=ON' git 'https://github.com/kakwa/uts-server'
sh 'make' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make'
}
}, },
"freebsd-11": { "FreeBSD 11": {
git 'https://github.com/kakwa/uts-server' node('freebsd-11') {
sh 'cmake . -DBUNDLE_CIVETWEB=ON' git 'https://github.com/kakwa/uts-server'
sh 'make' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make'
}
}, },
"centos-7": { "CentOS 7": {
git 'https://github.com/kakwa/uts-server' node('centos-7') {
sh 'cmake . -DBUNDLE_CIVETWEB=ON' git 'https://github.com/kakwa/uts-server'
sh 'make' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make'
}
}, },
"debian-8": { "Debian 8": {
git 'https://github.com/kakwa/uts-server' node('debian-8') {
sh 'cmake . -DBUNDLE_CIVETWEB=ON' git 'https://github.com/kakwa/uts-server'
sh 'make' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make'
}
} }
) )
} }
} }
} }
} }