From d6e33f9833dec4f1d0424c3d0f14a2e80127b9f9 Mon Sep 17 00:00:00 2001 From: somiljain2006 Date: Fri, 2 Jan 2026 11:27:48 +0530 Subject: [PATCH 1/6] Redirect PluginWrapper root URL to third-party licenses view --- core/src/main/java/hudson/PluginWrapper.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/src/main/java/hudson/PluginWrapper.java b/core/src/main/java/hudson/PluginWrapper.java index 41e010a92d6d..b8334775b791 100644 --- a/core/src/main/java/hudson/PluginWrapper.java +++ b/core/src/main/java/hudson/PluginWrapper.java @@ -1439,4 +1439,11 @@ public String getIssueTrackerReportUrl() { * Name of the plugin manifest file (to help find where we parse them.) */ public static final String MANIFEST_FILENAME = "META-INF/MANIFEST.MF"; + + /** + * Redirects the plugin wrapper root URL to the third-party licenses view used by the About page. + */ + public void doIndex(StaplerResponse2 rsp) throws IOException { + rsp.sendRedirect2("thirdPartyLicenses"); + } } From 083ba8646c961d7e28a82c4a922dbe83acd659cf Mon Sep 17 00:00:00 2001 From: somiljain2006 Date: Fri, 2 Jan 2026 12:10:13 +0530 Subject: [PATCH 2/6] Fixed redirect page --- core/src/main/java/hudson/PluginWrapper.java | 7 ------- core/src/main/resources/hudson/PluginWrapper/index.jelly | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 core/src/main/resources/hudson/PluginWrapper/index.jelly diff --git a/core/src/main/java/hudson/PluginWrapper.java b/core/src/main/java/hudson/PluginWrapper.java index b8334775b791..41e010a92d6d 100644 --- a/core/src/main/java/hudson/PluginWrapper.java +++ b/core/src/main/java/hudson/PluginWrapper.java @@ -1439,11 +1439,4 @@ public String getIssueTrackerReportUrl() { * Name of the plugin manifest file (to help find where we parse them.) */ public static final String MANIFEST_FILENAME = "META-INF/MANIFEST.MF"; - - /** - * Redirects the plugin wrapper root URL to the third-party licenses view used by the About page. - */ - public void doIndex(StaplerResponse2 rsp) throws IOException { - rsp.sendRedirect2("thirdPartyLicenses"); - } } diff --git a/core/src/main/resources/hudson/PluginWrapper/index.jelly b/core/src/main/resources/hudson/PluginWrapper/index.jelly new file mode 100644 index 000000000000..a46907337814 --- /dev/null +++ b/core/src/main/resources/hudson/PluginWrapper/index.jelly @@ -0,0 +1,5 @@ + + + + From c020ac0a88d71543c7fe1794bdf8f9aeeecafb28 Mon Sep 17 00:00:00 2001 From: somiljain2006 Date: Sun, 18 Jan 2026 21:43:44 +0530 Subject: [PATCH 3/6] Add license statement --- .../hudson/PluginWrapper/index.jelly | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/core/src/main/resources/hudson/PluginWrapper/index.jelly b/core/src/main/resources/hudson/PluginWrapper/index.jelly index a46907337814..0fe3fcb7ccc4 100644 --- a/core/src/main/resources/hudson/PluginWrapper/index.jelly +++ b/core/src/main/resources/hudson/PluginWrapper/index.jelly @@ -1,3 +1,28 @@ + + + From bc51a3001773b0e1936d3fc4610c6dc534bfdfa4 Mon Sep 17 00:00:00 2001 From: somiljain2006 Date: Tue, 20 Jan 2026 03:40:39 +0530 Subject: [PATCH 4/6] Added right license --- core/src/main/resources/hudson/PluginWrapper/index.jelly | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/resources/hudson/PluginWrapper/index.jelly b/core/src/main/resources/hudson/PluginWrapper/index.jelly index 0fe3fcb7ccc4..de68ae0d0a73 100644 --- a/core/src/main/resources/hudson/PluginWrapper/index.jelly +++ b/core/src/main/resources/hudson/PluginWrapper/index.jelly @@ -1,7 +1,7 @@ - From f56969d240a6495b316a614496881fe110c4c6ad Mon Sep 17 00:00:00 2001 From: somiljain2006 Date: Tue, 20 Jan 2026 16:41:44 +0530 Subject: [PATCH 5/6] Use standard Jenkins MIT license header --- core/src/main/resources/hudson/PluginWrapper/index.jelly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/resources/hudson/PluginWrapper/index.jelly b/core/src/main/resources/hudson/PluginWrapper/index.jelly index de68ae0d0a73..5510deedb8b3 100644 --- a/core/src/main/resources/hudson/PluginWrapper/index.jelly +++ b/core/src/main/resources/hudson/PluginWrapper/index.jelly @@ -1,7 +1,7 @@