From e88ae5f8daedf35044c4da709ea85540ab1059f4 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Thu, 8 Aug 2024 13:49:54 -0700 Subject: [PATCH] [JENKINS-73133] Adapt GitHub for Jetty 12 (EE 8) --- pom.xml | 3 +++ .../github/config/GitHubServerConfigIntegrationTest.java | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 93d153985..9df5a8911 100755 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,9 @@ false v@{project.version} true + + 2250.v03a_1295b_0a_30 + 17 diff --git a/src/test/java/org/jenkinsci/plugins/github/config/GitHubServerConfigIntegrationTest.java b/src/test/java/org/jenkinsci/plugins/github/config/GitHubServerConfigIntegrationTest.java index 7415352fe..09d15fa0c 100644 --- a/src/test/java/org/jenkinsci/plugins/github/config/GitHubServerConfigIntegrationTest.java +++ b/src/test/java/org/jenkinsci/plugins/github/config/GitHubServerConfigIntegrationTest.java @@ -14,10 +14,9 @@ import net.sf.json.JSONObject; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; -import org.eclipse.jetty.servlet.DefaultServlet; -import org.eclipse.jetty.servlet.ServletContextHandler; -import org.eclipse.jetty.servlet.ServletContextHandler.Context; -import org.eclipse.jetty.servlet.ServletHolder; +import org.eclipse.jetty.ee8.servlet.DefaultServlet; +import org.eclipse.jetty.ee8.servlet.ServletContextHandler; +import org.eclipse.jetty.ee8.servlet.ServletHolder; import org.jenkinsci.plugins.plaincredentials.impl.StringCredentialsImpl; import org.junit.After; import org.junit.Before;