[java-idp-plugin-webauthn] branch main updated: Add Jenkins file
Phil Smart
philip.smart at jisc.ac.uk
Fri Jan 26 17:16:04 UTC 2024
This is an automated email from the git hooks/post-receive script.
philsmart 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=529fd3f6cafe23f8be7d5e187a76c6e38706f483
The following commit(s) were added to refs/heads/main by this push:
new 529fd3f Add Jenkins file
529fd3f is described below
commit 529fd3f6cafe23f8be7d5e187a76c6e38706f483
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Jan 26 17:16:02 2024 +0000
Add Jenkins file
---
resources/jenkins/idp-versions.jenkinsfile | 74 ++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/resources/jenkins/idp-versions.jenkinsfile b/resources/jenkins/idp-versions.jenkinsfile
new file mode 100644
index 0000000..338d0fb
--- /dev/null
+++ b/resources/jenkins/idp-versions.jenkinsfile
@@ -0,0 +1,74 @@
+/*
+ * TESTING VECTORS
+ *
+ * Currently there is only one version available against current IdP development
+ *
+ * net.shibboleth.idp.plugin.authn.webauthn.idpVersionMax.0.0.1= 6.0.0
+ * net.shibboleth.idp.plugin.authn.webauthn.idpVersionMin.0.0.1= 5.0.0
+ *
+ * Next plugin is planned to have the same support boundaries
+ *
+ * 1) Test current plugin snapshot against every (potentially) supported idp version
+ *
+ * git tag MAIN
+ * idp versions 5.0.0 5.1.0-SNAPSHOT
+ *
+ * 2) Test currrent idp version against every (potentially) supported plugin version
+ *
+ * git tag(s) 5.0.0
+ * idp version 5.1.0-SNAPSHOT
+ */
+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('Checkout plugin snapshot') {
+ steps {
+ dir('java-idp-plugin-webauthn-main') {
+ git branch: 'main', url: 'https://git.shibboleth.net/git/java-idp-plugin-webauthn'
+ }
+ }
+ }
+ stage('Test plugin snapshot with current IdP version') {
+ steps {
+ dir('java-idp-plugin-webauthn-main') {
+ sh 'mvn clean test -D idp.version=5.0.0'
+ }
+ }
+ }
+ stage('Test plugin snapshot with future IdP version') {
+ steps {
+ dir('java-idp-plugin-webauthn-main') {
+ 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')
+ }
+ }
+}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list