1
0
mirror of https://github.com/kakwa/uts-server synced 2024-06-03 17:48:07 +02:00

Updated Jenkinsfile

This commit is contained in:
Carpentier Pierre-Francois 2017-04-27 22:13:33 +02:00
parent 42efdc2cd3
commit 1f6094f0c7

18
Jenkinsfile vendored
View File

@ -1,11 +1,11 @@
pipeline { pipeline {
agent none agent any
stages { stages {
stage('Compile') { stage('Compile') {
steps { steps {
parallel( parallel(
"OpenBSD 6.1": { "OpenBSD 6.1": {
node('openbsd-6.1') { node(label: 'openbsd-6.1') {
sh 'git config --global user.name "jenkins@kakwa.fr"' sh 'git config --global user.name "jenkins@kakwa.fr"'
sh 'git config --global user.email "jenkins@kakwa.fr"' sh 'git config --global user.email "jenkins@kakwa.fr"'
git 'https://github.com/kakwa/uts-server' git 'https://github.com/kakwa/uts-server'
@ -15,9 +15,11 @@ pipeline {
sh './tests/cfg/pki/create_tsa_certs' sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh' sh './tests/external_test.sh'
} }
}, },
"FreeBSD 11": { "FreeBSD 11": {
node('freebsd-11') { node(label: 'freebsd-11') {
sh 'git config --global user.email "jenkins@kakwa.fr"' sh 'git config --global user.email "jenkins@kakwa.fr"'
sh 'git config --global user.name "jenkins@kakwa.fr"' sh 'git config --global user.name "jenkins@kakwa.fr"'
git 'https://github.com/kakwa/uts-server' git 'https://github.com/kakwa/uts-server'
@ -27,9 +29,11 @@ pipeline {
sh './tests/cfg/pki/create_tsa_certs' sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh' sh './tests/external_test.sh'
} }
}, },
"CentOS 7": { "CentOS 7": {
node('centos-7') { node(label: 'centos-7') {
sh 'git config --global user.email "jenkins@kakwa.fr"' sh 'git config --global user.email "jenkins@kakwa.fr"'
sh 'git config --global user.name "jenkins@kakwa.fr"' sh 'git config --global user.name "jenkins@kakwa.fr"'
git 'https://github.com/kakwa/uts-server' git 'https://github.com/kakwa/uts-server'
@ -39,9 +43,11 @@ pipeline {
sh './tests/cfg/pki/create_tsa_certs' sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh' sh './tests/external_test.sh'
} }
}, },
"Debian 8": { "Debian 8": {
node('debian-8') { node(label: 'debian-8') {
sh 'git config --global user.email "jenkins@kakwa.fr"' sh 'git config --global user.email "jenkins@kakwa.fr"'
sh 'git config --global user.name "jenkins@kakwa.fr"' sh 'git config --global user.name "jenkins@kakwa.fr"'
git 'https://github.com/kakwa/uts-server' git 'https://github.com/kakwa/uts-server'
@ -51,6 +57,8 @@ pipeline {
sh './tests/cfg/pki/create_tsa_certs' sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh' sh './tests/external_test.sh'
} }
} }
) )
} }