From 4921bf1cecd405cd9b2f33592f45f41723f2e41d Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Fri, 21 Jun 2024 09:05:02 -0700 Subject: [PATCH] [JENKINS-73132] Adapt GitHub API for Jetty 12 (EE 8) --- Jenkinsfile | 2 +- pom.xml | 6 +++++- .../java/jenkins/plugins/github/api/mock/MockGitHub.java | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index df57c550..b2fa4856 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,5 @@ buildPlugin(useContainerAgent: true, configurations: [ [platform: 'linux', jdk: 21], [platform: 'linux', jdk: 17], - [platform: 'windows', jdk: 11], + [platform: 'windows', jdk: 17], ]) diff --git a/pom.xml b/pom.xml index 6797c83b..75944608 100644 --- a/pom.xml +++ b/pom.xml @@ -25,9 +25,13 @@ 1.321 999999-SNAPSHOT - 2.361.4 + + 2.464-rc35068.0fff405a_c344 jenkinsci/${project.artifactId}-plugin false + + 2230.v4fa_477b_634f4 + 17 diff --git a/src/test/java/jenkins/plugins/github/api/mock/MockGitHub.java b/src/test/java/jenkins/plugins/github/api/mock/MockGitHub.java index f9d37ae8..35cea02e 100644 --- a/src/test/java/jenkins/plugins/github/api/mock/MockGitHub.java +++ b/src/test/java/jenkins/plugins/github/api/mock/MockGitHub.java @@ -27,7 +27,7 @@ import org.eclipse.jetty.server.HttpConnectionFactory; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; -import org.eclipse.jetty.servlet.ServletContextHandler; +import org.eclipse.jetty.ee8.servlet.ServletContextHandler; import org.jvnet.hudson.test.ThreadPoolImpl; import org.kohsuke.stapler.HttpResponse; import org.kohsuke.stapler.QueryParameter;