[java-idp-plugin-webauthn] branch main updated: Jenkinsfile to test and install plugin locally.

Tom Zeller tzeller at dragonacea.biz
Sat Jan 27 14:37:05 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=a5879e0e38076f0e29c1477d844aaafc14b1c766

The following commit(s) were added to refs/heads/main by this push:
     new a5879e0  Jenkinsfile to test and install plugin locally.
a5879e0 is described below

commit a5879e0e38076f0e29c1477d844aaafc14b1c766
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sat Jan 27 08:36:53 2024 -0600

    Jenkinsfile to test and install plugin locally.
    
    Naming convention : file name is job name suffix.
    
    For example, this file
    
     'v1-java17.jenkinsfile'
    
    corresponds to the
    
     'java-idp-plugin-webauthn-v1-java17'
    
    job in Jenkins.
    
    We could be more descriptive in our job / jenkinsfile names, but this
    keeps consistent with current naming conventions.
    
    https://shibboleth.atlassian.net/browse/JWEBAUTHN-2
---
 resources/jenkins/v1-java17.jenkinsfile | 36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/resources/jenkins/v1-java17.jenkinsfile b/resources/jenkins/v1-java17.jenkinsfile
new file mode 100644
index 0000000..569ec12
--- /dev/null
+++ b/resources/jenkins/v1-java17.jenkinsfile
@@ -0,0 +1,36 @@
+/*
+ * Test and install plugin locally. 
+ */
+pipeline {
+    agent {
+        label 'Rocky9-commits'
+    }
+    options {
+        buildDiscarder(logRotator(numToKeepStr: '30'))
+    }
+    tools {
+        jdk 'Amazon-17'
+        maven 'Apache Maven'
+    }
+    triggers {
+        cron "@weekly"
+    }
+    stages {
+        stage('Install locally') {
+            steps {
+                sh '-V -B --update-snapshots clean install -D no-check-m2'
+            }
+        }
+    }
+    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