[java-idp-plugin-webauthn] branch main updated: First attempt at pipeline for multi job

Tom Zeller tzeller at dragonacea.biz
Sun Jan 28 15:05:39 UTC 2024


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-plugin-webauthn.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=85eeb56798379c9dc2d85ed8891ee1f35d025188

The following commit(s) were added to refs/heads/main by this push:
     new 85eeb56  First attempt at pipeline for multi job
85eeb56 is described below

commit 85eeb56798379c9dc2d85ed8891ee1f35d025188
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sun Jan 28 09:05:28 2024 -0600

    First attempt at pipeline for multi job
    
    https://shibboleth.atlassian.net/browse/JWEBAUTHN-2
---
 resources/jenkins/v1-multi-java17.jenkinsfile | 38 +++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/resources/jenkins/v1-multi-java17.jenkinsfile b/resources/jenkins/v1-multi-java17.jenkinsfile
new file mode 100644
index 0000000..d4cff74
--- /dev/null
+++ b/resources/jenkins/v1-multi-java17.jenkinsfile
@@ -0,0 +1,38 @@
+/*
+ * Test on multiple platforms and JDKs.
+ */
+pipeline {
+    agent none
+    options {
+        buildDiscarder(logRotator(numToKeepStr: '5'))
+    }
+    stages{
+        stage('Test all platforms and JDKs') {
+            matrix {
+                axes {
+                   axis {
+                        name 'label'
+                        values 'Rocky9', 'WindowsServer2022'
+                    }
+                    axis {
+                        name 'JDK'
+                        values 'Amazon-17', 'Amazon-21'
+                    }
+                }
+                stages {
+                    stage('Test platform and JDK') {
+                        steps {
+                            echo "Test ${label} - ${JDK}"
+                            // TODO sh 'mvn -V -B clean test --update-snapshots --fail-at-end'
+                        }
+                    }
+                }
+            }
+        }
+    }
+    post {
+        always {
+            testNG(reportFilenamePattern: '**/target/surefire-reports/testng-results.xml')
+        }
+    }
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list