[java-parent-project] branch main updated: Draft plugin testing job for Duo plugin.
Codeberg
noreply at shibboleth.net
Wed May 6 17:11:21 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-parent-project.
View the commit online:
https://codeberg.org/Shibboleth/java-parent-project/commit/104eaa8c3f9d4facc1cd204f2596b173fce013a7
The following commit(s) were added to refs/heads/main by this push:
new 104eaa8 Draft plugin testing job for Duo plugin.
104eaa8 is described below
commit 104eaa8c3f9d4facc1cd204f2596b173fce013a7
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed May 6 13:09:57 2026 -0400
Draft plugin testing job for Duo plugin.
---
resources/jenkins/java-idp-plugin-duo.jenkinsfile | 110 ++++++++++++++++++++++
1 file changed, 110 insertions(+)
diff --git a/resources/jenkins/java-idp-plugin-duo.jenkinsfile b/resources/jenkins/java-idp-plugin-duo.jenkinsfile
new file mode 100644
index 0000000..b5ff7ae
--- /dev/null
+++ b/resources/jenkins/java-idp-plugin-duo.jenkinsfile
@@ -0,0 +1,110 @@
+/*
+ * 1) Test plugin snapshot against API-baseline and current IdP version:
+ *
+ * Git branch: main
+ * IdP version(s): 5.0.0 5.2.1
+ *
+ * 2) Test currrent IdP version and next snapshot against latest plugin version:
+ *
+ * Git tag(s): 2.2.2
+ * IdP versions: 5.2.1 5.2.2-SNAPSHOT
+ */
+pipeline {
+
+ def projname = "java-idp-plugin-duo"
+ def plugin_cur = "2.2.2"
+
+ def idp_base = "5.0.0"
+ def shibshared_base = "9.0.0"
+
+ def idp_cur = "5.2.1"
+ def shibshared_cur = "9.2.1"
+
+ def idp_snapshot = "5.2.2-SNAPSHOT"
+ def shibshared_snapshot = "9.2.2-SNAPSHOT"
+
+ agent {
+ label 'Rocky9'
+ }
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '10'))
+ }
+ tools {
+ jdk 'Amazon-17'
+ maven 'Apache Maven'
+ }
+ triggers {
+ cron "@weekly"
+ }
+ stages {
+ stage('Display Java and Maven versions') {
+ steps {
+ sh 'mvn --version'
+ }
+ }
+ stage('Checkout plugin snapshot') {
+ steps {
+ dir("${projname}-main") {
+ git branch: 'main', url: "https://git.shibboleth.net/git/${projname}"
+ }
+ }
+ }
+ stage('Checkout current plugin') {
+ steps {
+ dir("${projname}-current") {
+ git branch: 'main', url: "https://git.shibboleth.net/git/${projname}"
+ sh "git checkout ${plugin_cur}"
+ }
+ }
+ }
+ stage('Test plugin snapshot with IdP API baseline version') {
+ steps {
+ dir("${projname}-main") {
+ sh "mvn clean test -Didp.version=${idp_base} -Dshib-profile.version=${idp_base} -Dshib-attribute.version=${idp_base} -Dshib-metadata.version=${idp_base} -Dopensaml.version=${idp_base} -Dshib-shared.version=${shibshared_base}"
+ }
+ }
+ }
+ stage('Test plugin snapshot with current IdP version') {
+ steps {
+ dir("${projname}-main") {
+ sh "mvn clean test -Didp.version=${idp_cur} -Dshib-profile.version=${idp_cur} -Dshib-attribute.version=${idp_cur} -Dshib-metadata.version=${idp_cur} -Dopensaml.version=${idp_cur} -Dshib-shared.version=${shibshared_cur}"
+ }
+ }
+ }
+ stage('Test plugin snapshot with current IdP snapshot') {
+ steps {
+ dir("${projname}-main") {
+ sh "mvn clean test -Didp.version=${idp_snapshot} -Dshib-profile.version=${idp_snapshot} -Dshib-attribute.version=${idp_snapshot} -Dshib-metadata.version=${idp_snapshot} -Dopensaml.version=${idp_snapshot} -Dshib-shared.version=${shibshared_snapshot}"
+ }
+ }
+ }
+
+ stage('Test latest released plugin with latest IdP version') {
+ steps {
+ dir("${projname}-current") {
+ sh "mvn clean test -Didp.version=${idp_cur} -Dshib-profile.version=${idp_cur} -Dshib-attribute.version=${idp_cur} -Dshib-metadata.version=${idp_cur} -Dopensaml.version=${idp_cur} -Dshib-shared.version=${shibshared_cur}"
+ }
+ }
+ }
+
+ stage('Test latest released plugin with current IdP snapshot') {
+ steps {
+ dir("${projname}-current") {
+ sh "mvn clean test -Didp.version=${idp_snapshot} -Dshib-profile.version=${idp_snapshot} -Dshib-attribute.version=${idp_snapshot} -Dshib-metadata.version=${idp_snapshot} -Dopensaml.version=${idp_snapshot} -Dshib-shared.version=${shibshared_snapshot}"
+ }
+ }
+ }
+
+ }
+ post {
+ always {
+ testNG(reportFilenamePattern: '**/target/surefire-reports/testng-results.xml')
+ }
+ failure {
+ emailext(to: 'commits at shibboleth.net',
+ subject: "Build failed : ${currentBuild.fullDisplayName}",
+ body: "See ${env.BUILD_URL}",
+ attachLog: 'true')
+ }
+ }
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list