Updated Jenkinsfile

This commit is contained in:
Carpentier Pierre-Francois 2017-04-27 22:51:44 +02:00
parent e8cfca23b5
commit 3b6e424f23
1 changed files with 49 additions and 41 deletions

90
Jenkinsfile vendored
View File

@ -5,55 +5,63 @@ pipeline {
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(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; make -j4' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; make -j4'
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(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/;git clean -fdx' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/;git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/;cmake . -DBUNDLE_CIVETWEB=ON' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/;cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make -j4' sh 'make -j4'
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(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; make -j4' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; make -j4'
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(url: 'https://github.com/kakwa/uts-server', poll: true, changelog: true)
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; cmake . -DBUNDLE_CIVETWEB=ON' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; cmake . -DBUNDLE_CIVETWEB=ON'
sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; make -j4' sh 'export GIT_SSL_NO_VERIFY=true; CIVETWEB_GITURL=https://gogs.kakwa.fr/kakwa/civetweb/; make -j4'
sh './tests/cfg/pki/create_tsa_certs' sh './tests/cfg/pki/create_tsa_certs'
sh './tests/external_test.sh' sh './tests/external_test.sh'
} }
} }
) )
} }
} }
} }
} }