From 2f9e45322e3d500eded931827ee517119162c1ff Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Tue, 12 Nov 2024 08:45:31 -0800 Subject: [PATCH] Test on Java 21 (#180) --- .github/CODEOWNERS | 1 + .gitignore | 20 ++++++++++++-------- Jenkinsfile | 10 ++++------ pom.xml | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..665533f --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @jenkinsci/jiratestresultreporter-plugin-developers diff --git a/.gitignore b/.gitignore index 989d5d2..0834364 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,15 @@ target -release.properties -pom.xml.releaseBackup -myCredentials.txt -JiraTestResultReporter.iml -.idea/* -work/* -.factorypath + +# mvn hpi:run +work + +# IntelliJ IDEA project files +*.iml +*.iws +*.ipr +.idea + +# Eclipse project files +.settings .classpath .project -.settings/ diff --git a/Jenkinsfile b/Jenkinsfile index 739641a..8b7fd8d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,4 @@ -buildPlugin( - platforms: ['linux'], - jenkinsVersions: [null], - jdkVersions: [11] -) - +buildPlugin(useContainerAgent: true, configurations: [ + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], +]) diff --git a/pom.xml b/pom.xml index af2c756..e959d2d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci.plugins plugin - 4.87 + 4.88