From 1fd82213dde337c61192b57fc8139f88c0c240f8 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 10 Jun 2023 13:04:28 -0600 Subject: [PATCH] Remove unused divBasedFormLayout conditionals in jelly files Jenkins 2.277.1 (or newer) has long been the minimum required Jenkins version for this plugin. --- .../PromotionProcess/process-config.jelly | 10 ++++---- .../PublisherImpl/config.jelly | 10 ++++---- .../lib/promoted_builds/blockWrapper.jelly | 23 ------------------- 3 files changed, 10 insertions(+), 33 deletions(-) delete mode 100644 src/main/resources/lib/promoted_builds/blockWrapper.jelly diff --git a/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly b/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly index a26558b5..f6f5c964 100644 --- a/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly +++ b/src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly @@ -1,8 +1,8 @@ - +
${%Promotion process} - +
@@ -51,9 +51,9 @@ - +
- +
@@ -81,6 +81,6 @@
-
+
diff --git a/src/main/resources/hudson/plugins/promoted_builds/PublisherImpl/config.jelly b/src/main/resources/hudson/plugins/promoted_builds/PublisherImpl/config.jelly index 5d2cee20..905e4196 100644 --- a/src/main/resources/hudson/plugins/promoted_builds/PublisherImpl/config.jelly +++ b/src/main/resources/hudson/plugins/promoted_builds/PublisherImpl/config.jelly @@ -1,9 +1,9 @@ + xmlns:t="/lib/hudson" xmlns:f="/lib/form"> - +
@@ -11,9 +11,9 @@ Promote a build when all of the following conditions are met: - +
- +
@@ -22,7 +22,7 @@
-
+
diff --git a/src/main/resources/lib/promoted_builds/blockWrapper.jelly b/src/main/resources/lib/promoted_builds/blockWrapper.jelly deleted file mode 100644 index 266a0049..00000000 --- a/src/main/resources/lib/promoted_builds/blockWrapper.jelly +++ /dev/null @@ -1,23 +0,0 @@ - - - - This adds a wrapper allowing adding an ID to a field or group of fields that can be targeted by JavaScript - The wrapper will be a `table` tag before form layout changes are merged: https://github.com/jenkinsci/jenkins/pull/3895, - and a `div` tag after that. - - - - - -
- -
-
- - - -
-
-
- -