[rs-commit] r455 - /mod_spkac/trunk/Jenkinsfile

rs-commit at redwax.eu rs-commit at redwax.eu
Tue Mar 5 23:00:55 CET 2024


Author: minfrin at redwax.eu
Date: Tue Mar  5 23:00:55 2024
New Revision: 455

Log:
Add jenkinsfile

Added:
    mod_spkac/trunk/Jenkinsfile

Added: mod_spkac/trunk/Jenkinsfile
==============================================================================
--- mod_spkac/trunk/Jenkinsfile	(added)
+++ mod_spkac/trunk/Jenkinsfile	Tue Mar  5 23:00:55 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