Merge branch 'jenkins_test' of https://github.com/kakwa/uts-server into jenkins_test

This commit is contained in:
kakwa 2017-04-27 22:09:33 +02:00
commit 42efdc2cd3
1 changed files with 16 additions and 12 deletions

28
Jenkinsfile vendored
View File

@ -5,9 +5,9 @@ pipeline {
steps { steps {
parallel( parallel(
"OpenBSD 6.1": { "OpenBSD 6.1": {
node('openbsd-6.1') { node('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'
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON' sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; cmake . -DBUNDLE_CIVETWEB=ON'
@ -17,9 +17,9 @@ pipeline {
} }
}, },
"FreeBSD 11": { "FreeBSD 11": {
node('freebsd-11') { node('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'
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'cmake . -DBUNDLE_CIVETWEB=ON' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
@ -29,9 +29,9 @@ pipeline {
} }
}, },
"CentOS 7": { "CentOS 7": {
node('centos-7') { node('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'
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON' sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; cmake . -DBUNDLE_CIVETWEB=ON'
@ -41,9 +41,9 @@ pipeline {
} }
}, },
"Debian 8": { "Debian 8": {
node('debian-8') { node('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'
sh 'git clean -fdx' sh 'git clean -fdx'
sh 'cmake . -DBUNDLE_CIVETWEB=ON' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
@ -56,4 +56,8 @@ pipeline {
} }
} }
} }
environment {
GIT_SSL_NO_VERIFY = 'true'
CIVETWEB_GITURL = 'https://gogs.kakwa.fr/kakwa/civetweb/'
}
} }