pipeline { agent none stages { stage('Build') { parallel { stage('RHEL9') { agent { label 'rhel-9-x86_64' } stages { stage('mod_ca') { steps { dir("mod_timestamp") { 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' } } } } } } } }