[rs-commit] r449 - /mod_crl/trunk/Jenkinsfile

rs-commit at redwax.eu rs-commit at redwax.eu
Tue Mar 5 22:58:22 CET 2024


Author: minfrin at redwax.eu
Date: Tue Mar  5 22:58:22 2024
New Revision: 449

Log:
Add jenkinsfile

Added:
    mod_crl/trunk/Jenkinsfile

Added: mod_crl/trunk/Jenkinsfile
==============================================================================
--- mod_crl/trunk/Jenkinsfile	(added)
+++ mod_crl/trunk/Jenkinsfile	Tue Mar  5 22:58:22 2024
@@ -0,0 +1,44 @@
+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'
+              }
+            }
+          }
+        }
+      }
+    }
+  }
+}



More information about the rs-commit mailing list