[java-plugin-storage-jdbc] branch main updated: IDP-1712 Idp Version vs Plugin version testing

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 15 10:28:36 UTC 2023


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

rdw pushed a commit to branch main
in repository java-plugin-storage-jdbc.

View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-storage-jdbc.git;a=commit;h=e87a310c665d3523612bf3984ee24c240c226b90

The following commit(s) were added to refs/heads/main by this push:
     new e87a310  IDP-1712 Idp Version vs Plugin version testing
e87a310 is described below

commit e87a310c665d3523612bf3984ee24c240c226b90
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 15 10:27:44 2023 +0000

    IDP-1712 Idp Version vs Plugin version testing
    
    https://shibboleth.atlassian.net/browse/IDP-1712
    
    Add a pipeline for downrev testing
---
 resources/jenkins/idp-versions.jenkinsfile | 43 ++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/resources/jenkins/idp-versions.jenkinsfile b/resources/jenkins/idp-versions.jenkinsfile
new file mode 100644
index 0000000..e282517
--- /dev/null
+++ b/resources/jenkins/idp-versions.jenkinsfile
@@ -0,0 +1,43 @@
+pipeline {
+    agent {
+        label 'Rocky9'
+    }
+    options {
+        buildDiscarder(logRotator(numToKeepStr: '30'))
+    }
+    tools {
+        jdk 'Amazon-17'
+        maven 'Apache Maven'
+    }
+    triggers {
+        cron "@weekly"
+    }
+    stages {
+        stage('Display Java and Maven versions') {
+            steps {
+                sh 'mvn --version'
+            }
+        }
+        stage('Test Current IdP Version') {
+            steps {
+                sh 'mvn clean test -D idp.version=5.0.0'
+            }
+        }
+        stage('Test Future IdP Version') {
+            steps {
+                sh 'mvn clean test -D idp.version=5.1.0-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