pipeline { agent none stages { stage('Build') { parallel { stage('Interop') { agent { label 'interop' } stages { stage('mod_ca') { steps { dir("mod_ca") { svn url: 'https://source.redwax.eu/svn/redwax/rs/mod_ca/trunk/' sh 'autoreconf --force --install' sh 'CFLAGS="-O0 -g -Wall" DESTDIR="${WORKSPACE}/target" ./configure' sh 'DESTDIR="${WORKSPACE}/target" make install' } } } stage('autoreconf') { steps { sh 'autoreconf --force --install' } } stage('configure') { steps { sh 'CFLAGS="-O0 -g -Wall -I${WORKSPACE}/target/usr/include/httpd" DESTDIR="${WORKSPACE}/target" ./configure' } } stage('make install') { steps { sh 'DESTDIR="${WORKSPACE}/target" EXTRA_CFLAGS="-I${WORKSPACE}/target/usr/include/httpd" make install' } } stage('restart httpd') { steps { sh 'sudo /usr/sbin/restart-httpd' } } } } stage('RHEL9') { agent { label 'rhel-9-x86_64' } stages { stage('mod_ca') { steps { dir("mod_ca") { svn url: 'https://source.redwax.eu/svn/redwax/rs/mod_ca/trunk/' sh 'autoreconf --force --install' sh 'CFLAGS="-O0 -g -Wall" DESTDIR="${WORKSPACE}/target" ./configure' sh 'DESTDIR="${WORKSPACE}/target" make install' } } } stage('autoreconf') { steps { sh 'autoreconf --force --install' } } stage('configure') { steps { sh 'CFLAGS="-O0 -g -Wall -I${WORKSPACE}/target/usr/include/httpd" DESTDIR="${WORKSPACE}/target" ./configure' } } stage('make install') { steps { sh 'DESTDIR="${WORKSPACE}/target" EXTRA_CFLAGS="-I${WORKSPACE}/target/usr/include/httpd" make install' } } stage('make dist') { steps { sh 'make dist' } } } } stage('Fedora41') { agent { label 'fedora-41-x86_64' } stages { stage('mod_ca') { steps { dir("mod_ca") { svn url: 'https://source.redwax.eu/svn/redwax/rs/mod_ca/trunk/' sh 'autoreconf --force --install' sh 'CFLAGS="-O0 -g -Wall" DESTDIR="${WORKSPACE}/target" ./configure' sh 'DESTDIR="${WORKSPACE}/target" make install' } } } stage('autoreconf') { steps { sh 'autoreconf --force --install' } } stage('configure') { steps { sh 'CFLAGS="-O0 -g -Wall -I${WORKSPACE}/target/usr/include/httpd" DESTDIR="${WORKSPACE}/target" ./configure' } } stage('make install') { steps { sh 'DESTDIR="${WORKSPACE}/target" EXTRA_CFLAGS="-I${WORKSPACE}/target/usr/include/httpd" make install' } } stage('make dist') { steps { sh 'make dist' } } } } } } } }