From fadc5119b29643c3f48f05d37355a80f2b3b0327 Mon Sep 17 00:00:00 2001
From: Jenkins Release Bot
<66998184+jenkins-release-bot@users.noreply.github.com>
Date: Tue, 21 Nov 2023 13:07:19 +0000
Subject: [PATCH 1/6] [maven-release-plugin] prepare release jenkins-2.433
---
bom/pom.xml | 2 +-
cli/pom.xml | 2 +-
core/pom.xml | 2 +-
coverage/pom.xml | 2 +-
pom.xml | 4 ++--
test/pom.xml | 2 +-
war/pom.xml | 2 +-
websocket/jetty10/pom.xml | 2 +-
websocket/spi/pom.xml | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/bom/pom.xml b/bom/pom.xml
index 616d7f77af70..c8f6cba41ea9 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
jenkins-bom
diff --git a/cli/pom.xml b/cli/pom.xml
index 21aabc88e649..34382d87b5ea 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
cli
diff --git a/core/pom.xml b/core/pom.xml
index 45539865962a..cbc83145831d 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -29,7 +29,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
jenkins-core
diff --git a/coverage/pom.xml b/coverage/pom.xml
index 9f27c8d11cf0..b5a81a4c078b 100644
--- a/coverage/pom.xml
+++ b/coverage/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
jenkins-coverage
diff --git a/pom.xml b/pom.xml
index 9c2ac99d6210..633e280a2332 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
pom
Jenkins main module
@@ -63,7 +63,7 @@ THE SOFTWARE.
scm:git:https://github.com/jenkinsci/jenkins.git
scm:git:git@github.com:jenkinsci/jenkins.git
- ${scmTag}
+ jenkins-2.433
https://github.com/jenkinsci/jenkins
diff --git a/test/pom.xml b/test/pom.xml
index a3c8ea0cbc5a..68260ba532ca 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
jenkins-test
diff --git a/war/pom.xml b/war/pom.xml
index b6082a6d1ada..55578122a27a 100644
--- a/war/pom.xml
+++ b/war/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
jenkins-war
diff --git a/websocket/jetty10/pom.xml b/websocket/jetty10/pom.xml
index eb4a169a59d1..b4e5a717652d 100644
--- a/websocket/jetty10/pom.xml
+++ b/websocket/jetty10/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
../..
diff --git a/websocket/spi/pom.xml b/websocket/spi/pom.xml
index 77abcc3b7248..f18d679701f8 100644
--- a/websocket/spi/pom.xml
+++ b/websocket/spi/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- ${revision}${changelist}
+ 2.433
../..
From f2666710161b75183efb5fac4e8f342c568be930 Mon Sep 17 00:00:00 2001
From: Jenkins Release Bot
<66998184+jenkins-release-bot@users.noreply.github.com>
Date: Tue, 21 Nov 2023 13:07:31 +0000
Subject: [PATCH 2/6] [maven-release-plugin] prepare for next development
iteration
---
bom/pom.xml | 2 +-
cli/pom.xml | 2 +-
core/pom.xml | 2 +-
coverage/pom.xml | 2 +-
pom.xml | 6 +++---
test/pom.xml | 2 +-
war/pom.xml | 2 +-
websocket/jetty10/pom.xml | 2 +-
websocket/spi/pom.xml | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/bom/pom.xml b/bom/pom.xml
index c8f6cba41ea9..616d7f77af70 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
jenkins-bom
diff --git a/cli/pom.xml b/cli/pom.xml
index 34382d87b5ea..21aabc88e649 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
cli
diff --git a/core/pom.xml b/core/pom.xml
index cbc83145831d..45539865962a 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -29,7 +29,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
jenkins-core
diff --git a/coverage/pom.xml b/coverage/pom.xml
index b5a81a4c078b..9f27c8d11cf0 100644
--- a/coverage/pom.xml
+++ b/coverage/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
jenkins-coverage
diff --git a/pom.xml b/pom.xml
index 633e280a2332..7abf74185fdd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
pom
Jenkins main module
@@ -63,7 +63,7 @@ THE SOFTWARE.
scm:git:https://github.com/jenkinsci/jenkins.git
scm:git:git@github.com:jenkinsci/jenkins.git
- jenkins-2.433
+ ${scmTag}
https://github.com/jenkinsci/jenkins
@@ -73,7 +73,7 @@ THE SOFTWARE.
- 2.433
+ 2.434
-SNAPSHOT
diff --git a/test/pom.xml b/test/pom.xml
index 68260ba532ca..a3c8ea0cbc5a 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
jenkins-test
diff --git a/war/pom.xml b/war/pom.xml
index 55578122a27a..b6082a6d1ada 100644
--- a/war/pom.xml
+++ b/war/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
jenkins-war
diff --git a/websocket/jetty10/pom.xml b/websocket/jetty10/pom.xml
index b4e5a717652d..eb4a169a59d1 100644
--- a/websocket/jetty10/pom.xml
+++ b/websocket/jetty10/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
../..
diff --git a/websocket/spi/pom.xml b/websocket/spi/pom.xml
index f18d679701f8..77abcc3b7248 100644
--- a/websocket/spi/pom.xml
+++ b/websocket/spi/pom.xml
@@ -28,7 +28,7 @@ THE SOFTWARE.
org.jenkins-ci.main
jenkins-parent
- 2.433
+ ${revision}${changelist}
../..
From 8cbe60bc2f7d35e66b007975f5277cd81b7917f3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 21 Nov 2023 11:16:54 -0800
Subject: [PATCH 3/6] Update dependency eslint to v8.54.0 (#8712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
war/package.json | 2 +-
war/yarn.lock | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/war/package.json b/war/package.json
index 45b59e770dc9..8c0ea9634f47 100644
--- a/war/package.json
+++ b/war/package.json
@@ -30,7 +30,7 @@
"clean-webpack-plugin": "4.0.0",
"css-loader": "6.8.1",
"css-minimizer-webpack-plugin": "5.0.1",
- "eslint": "8.53.0",
+ "eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"handlebars-loader": "1.7.3",
"mini-css-extract-plugin": "2.7.6",
diff --git a/war/yarn.lock b/war/yarn.lock
index afcdf628f466..bd73a9944d39 100644
--- a/war/yarn.lock
+++ b/war/yarn.lock
@@ -1802,10 +1802,10 @@ __metadata:
languageName: node
linkType: hard
-"@eslint/js@npm:8.53.0":
- version: 8.53.0
- resolution: "@eslint/js@npm:8.53.0"
- checksum: d29f6c207b2f6dc4ef174d16a3c07b0d3a17ca3d805680496ff267edd773e3bac41db4e7dcab622ca1970d892535bd19671e2a756d4eac75e96fd8c8dcdb619b
+"@eslint/js@npm:8.54.0":
+ version: 8.54.0
+ resolution: "@eslint/js@npm:8.54.0"
+ checksum: d61fb4a0be6af2d8cb290121c329697664a75d6255a29926d5454fb02aeb02b87112f67fdf218d10abac42f90c570ac366126751baefc5405d0e017ed0c946c5
languageName: node
linkType: hard
@@ -3553,14 +3553,14 @@ __metadata:
languageName: node
linkType: hard
-"eslint@npm:8.53.0":
- version: 8.53.0
- resolution: "eslint@npm:8.53.0"
+"eslint@npm:8.54.0":
+ version: 8.54.0
+ resolution: "eslint@npm:8.54.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.2.0"
"@eslint-community/regexpp": "npm:^4.6.1"
"@eslint/eslintrc": "npm:^2.1.3"
- "@eslint/js": "npm:8.53.0"
+ "@eslint/js": "npm:8.54.0"
"@humanwhocodes/config-array": "npm:^0.11.13"
"@humanwhocodes/module-importer": "npm:^1.0.1"
"@nodelib/fs.walk": "npm:^1.2.8"
@@ -3597,7 +3597,7 @@ __metadata:
text-table: "npm:^0.2.0"
bin:
eslint: bin/eslint.js
- checksum: c5cd0049488c0463dab7d97466767ca5a1d0b3b59d0a223122683dc8039ecea30b27867fb9e38906b4c1ab9d09ece8a802a6c540d8905016f1cc4b4bb27329af
+ checksum: 4f205f832bdbd0218cde374b067791f4f76d7abe8de86b2dc849c273899051126d912ebf71531ee49b8eeaa22cad77febdc8f2876698dc2a76e84a8cb976af22
languageName: node
linkType: hard
@@ -4413,7 +4413,7 @@ __metadata:
clean-webpack-plugin: "npm:4.0.0"
css-loader: "npm:6.8.1"
css-minimizer-webpack-plugin: "npm:5.0.1"
- eslint: "npm:8.53.0"
+ eslint: "npm:8.54.0"
eslint-config-prettier: "npm:9.0.0"
handlebars: "npm:4.7.8"
handlebars-loader: "npm:1.7.3"
From d490e43f77e614dbdc3f04d1c677b53f57710bab Mon Sep 17 00:00:00 2001
From: Jan Faracik <43062514+janfaracik@users.noreply.github.com>
Date: Wed, 22 Nov 2023 21:43:59 +0000
Subject: [PATCH 4/6] Use secondary text color for build history descriptions
rather than lowering opacity (#8707)
Update _style.scss
---
war/src/main/scss/base/_style.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/war/src/main/scss/base/_style.scss b/war/src/main/scss/base/_style.scss
index e1957b7f01c1..ecda3df84a4e 100644
--- a/war/src/main/scss/base/_style.scss
+++ b/war/src/main/scss/base/_style.scss
@@ -459,7 +459,7 @@ div.listview-jobs {
padding: 0;
margin-top: 5px;
white-space: normal;
- opacity: 0.6;
+ color: var(--text-color-secondary);
word-break: break-word;
}
From f4fe5710a56944096054e54d377cbcae97e599df Mon Sep 17 00:00:00 2001
From: Basil Crow
Date: Thu, 23 Nov 2023 05:04:38 -0800
Subject: [PATCH 5/6] Refuse to load the Jenkins test harness in production
(#8714)
---
core/src/main/java/hudson/ClassicPluginStrategy.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/core/src/main/java/hudson/ClassicPluginStrategy.java b/core/src/main/java/hudson/ClassicPluginStrategy.java
index c16fc93e1aa9..1047ec5a3dbc 100644
--- a/core/src/main/java/hudson/ClassicPluginStrategy.java
+++ b/core/src/main/java/hudson/ClassicPluginStrategy.java
@@ -290,6 +290,10 @@ protected ClassLoader createClassLoader(List paths, ClassLoader parent, At
List urls = new ArrayList<>();
for (File path : paths) {
+ if (path.getName().startsWith("jenkins-test-harness")) {
+ throw new IllegalStateException("Refusing to load the Jenkins test harness in production (via "
+ + atts.getValue("Short-Name") + ")");
+ }
urls.add(path.toURI().toURL());
}
URLClassLoader2 classLoader;
From a9c34d73933aac28ff90c7b885b02bcbe3141084 Mon Sep 17 00:00:00 2001
From: Markus Winter
Date: Thu, 23 Nov 2023 16:59:38 +0100
Subject: [PATCH 6/6] improve dialog form handling (#8701)
---
war/src/main/js/components/dialogs/index.js | 33 +++++++++++----------
1 file changed, 18 insertions(+), 15 deletions(-)
diff --git a/war/src/main/js/components/dialogs/index.js b/war/src/main/js/components/dialogs/index.js
index 3dc6ba4f9d91..de8874fe74bb 100644
--- a/war/src/main/js/components/dialogs/index.js
+++ b/war/src/main/js/components/dialogs/index.js
@@ -139,7 +139,11 @@ Dialog.prototype.appendButtons = function () {
}
`);
- this.dialog.appendChild(buttons);
+ if (this.dialogType === "form") {
+ this.form.appendChild(buttons);
+ } else {
+ this.dialog.appendChild(buttons);
+ }
this.ok = buttons.querySelector("[data-id=ok]");
this.cancel = buttons.querySelector("[data-id=cancel]");
@@ -172,25 +176,24 @@ Dialog.prototype.show = function () {
if (this.input != null) {
this.input.focus();
}
- if (this.ok != null) {
+ if (
+ this.ok != null &&
+ (this.dialogType != "form" || !this.options.submitButton)
+ ) {
this.ok.addEventListener(
"click",
(e) => {
- if (this.dialogType === "form" && this.options.submitButton) {
- this.form.submit();
- } else {
- e.preventDefault();
+ e.preventDefault();
- let value = true;
- if (this.dialogType === "prompt") {
- value = this.input.value;
- }
- if (this.dialogType === "form") {
- value = new FormData(this.form);
- }
- this.dialog.remove();
- resolve(value);
+ let value = true;
+ if (this.dialogType === "prompt") {
+ value = this.input.value;
+ }
+ if (this.dialogType === "form") {
+ value = new FormData(this.form);
}
+ this.dialog.remove();
+ resolve(value);
},
{ once: true },
);