From 1486bc389cf8b88e8270b7774b0af21c248cede3 Mon Sep 17 00:00:00 2001 From: Carpentier Pierre-Francois Date: Thu, 27 Apr 2017 21:59:03 +0200 Subject: [PATCH] Adding some environment variables --- Jenkinsfile | 78 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 33 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a9889f5..b061ed2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,47 +5,59 @@ pipeline { steps { parallel( "OpenBSD 6.1": { - node('openbsd-6.1') { - sh 'git config --global user.name "jenkins@kakwa.fr"' - sh 'git config --global user.email "jenkins@kakwa.fr"' - git 'https://github.com/kakwa/uts-server' - 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++; make -j4' - } + node(label: 'openbsd-6.1') { + sh 'git config --global user.name "jenkins@kakwa.fr"' + sh 'git config --global user.email "jenkins@kakwa.fr"' + git 'https://github.com/kakwa/uts-server' + 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++; make -j4' + } + + }, "FreeBSD 11": { - node('freebsd-11') { - sh 'git config --global user.email "jenkins@kakwa.fr"' - sh 'git config --global user.name "jenkins@kakwa.fr"' - git 'https://github.com/kakwa/uts-server' - sh 'git clean -fdx' - sh 'cmake . -DBUNDLE_CIVETWEB=ON' - sh 'make -j4' - } + node(label: 'freebsd-11') { + sh 'git config --global user.email "jenkins@kakwa.fr"' + sh 'git config --global user.name "jenkins@kakwa.fr"' + git 'https://github.com/kakwa/uts-server' + sh 'git clean -fdx' + sh 'cmake . -DBUNDLE_CIVETWEB=ON' + sh 'make -j4' + } + + }, "CentOS 7": { - node('centos-7') { - sh 'git config --global user.email "jenkins@kakwa.fr"' - sh 'git config --global user.name "jenkins@kakwa.fr"' - git 'https://github.com/kakwa/uts-server' - 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; make -j4' - } + node(label: 'centos-7') { + sh 'git config --global user.email "jenkins@kakwa.fr"' + sh 'git config --global user.name "jenkins@kakwa.fr"' + git 'https://github.com/kakwa/uts-server' + 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; make -j4' + } + + }, "Debian 8": { - node('debian-8') { - sh 'git config --global user.email "jenkins@kakwa.fr"' - sh 'git config --global user.name "jenkins@kakwa.fr"' - git 'https://github.com/kakwa/uts-server' - sh 'git clean -fdx' - sh 'cmake . -DBUNDLE_CIVETWEB=ON' - sh 'make -j4' - } + node(label: 'debian-8') { + sh 'git config --global user.email "jenkins@kakwa.fr"' + sh 'git config --global user.name "jenkins@kakwa.fr"' + git 'https://github.com/kakwa/uts-server' + sh 'git clean -fdx' + sh 'cmake . -DBUNDLE_CIVETWEB=ON' + sh 'make -j4' + } + + } ) } } } -} + environment { + GIT_SSL_NO_VERIFY = 'true' + CIVETWEB_GITURL = 'https://gogs.kakwa.fr/kakwa/civetweb/' + } +} \ No newline at end of file