1
0
mirror of https://github.com/kakwa/uts-server synced 2025-01-25 04:47:26 +01:00

Adding some environment variables

This commit is contained in:
Carpentier Pierre-Francois 2017-04-27 21:59:03 +02:00
parent 2dbe21d621
commit 7a61793068

20
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ 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 'https://github.com/kakwa/uts-server'
@ -13,9 +13,11 @@ pipeline {
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'
sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; make -j4' sh 'export CC=/usr/local/bin/egcc;export CXX=/usr/local/bin/ec++; make -j4'
} }
}, },
"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'
@ -23,9 +25,11 @@ pipeline {
sh 'cmake . -DBUNDLE_CIVETWEB=ON' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make -j4' sh 'make -j4'
} }
}, },
"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'
@ -33,9 +37,11 @@ pipeline {
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'
sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; make -j4' sh 'export CXX=/usr/bin/clang++; export CC=/usr/bin/clang; make -j4'
} }
}, },
"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'
@ -43,9 +49,15 @@ pipeline {
sh 'cmake . -DBUNDLE_CIVETWEB=ON' sh 'cmake . -DBUNDLE_CIVETWEB=ON'
sh 'make -j4' sh 'make -j4'
} }
} }
) )
} }
} }
} }
environment {
GIT_SSL_NO_VERIFY = 'true'
CIVETWEB_GITURL = 'https://gogs.kakwa.fr/kakwa/civetweb/'
}
} }