Skip to content

Commit 2fc30d0

Browse files
authored
Merge branch 'master' into master
2 parents 1d9d563 + d8f2298 commit 2fc30d0

File tree

174 files changed

+2744
-1541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+2744
-1541
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# Whitespace: https://github.com/jenkinsci/jenkins/pull/6149
2+
e27b310065b3c036b5fc9d123f1d1d99d3058c00
13
# Reformatted: https://github.com/jenkinsci/jenkins/pull/6863
24
e3fdfa527e4fefb4b37f04c92a2dd87b8a374b75

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The changelog generator relies on the presence of the upgrade guidelines section
8787
- [ ] There is automated testing or an explanation as to why this change has no tests.
8888
- [ ] New public classes, fields, and methods are annotated with `@Restricted` or have `@since TODO` Javadocs, as appropriate.
8989
- [ ] New deprecations are annotated with `@Deprecated(since = "TODO")` or `@Deprecated(forRemoval = true, since = "TODO")`, if applicable.
90-
- [ ] New or substantially changed JavaScript is not defined inline and does not call `eval` to ease future introduction of Content Security Policy (CSP) directives (see [documentation](https://www.jenkins.io/doc/developer/security/csp/)).
90+
- [ ] UI changes do not introduce regressions when enforcing the current default rules of [Content Security Policy Plugin](https://plugins.jenkins.io/csp/). In particular, new or substantially changed JavaScript is not defined inline and does not call `eval` to ease future introduction of Content Security Policy (CSP) directives (see [documentation](https://www.jenkins.io/doc/developer/security/csp/)).
9191
- [ ] For dependency updates, there are links to external changelogs and, if possible, full differentials.
9292
- [ ] For new APIs and extension points, there is a link to at least one consumer.
9393

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
env:
3636
GITHUB_AUTH: github-actions:${{ secrets.GITHUB_TOKEN }}
3737
- name: Upload Changelog YAML
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3939
with:
4040
name: changelog.yaml
4141
path: changelog.yaml

.github/workflows/publish-release-artifact.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
- name: Set up JDK 21
21-
uses: actions/setup-java@ead9eaa3cfe0b0fc2fa749519ae09c3d4f4080b0 #v 5.0.0
21+
uses: actions/setup-java@de5a937a1dc73fbc1a67d7d1aa4bebc1082f3190 #v 5.0.0
2222
with:
2323
distribution: "temurin"
2424
java-version: 21
@@ -74,7 +74,7 @@ jobs:
7474
wget -q https://get.jenkins.io/${REPO}/${PROJECT_VERSION}/${FILE_NAME}
7575
- name: Upload Release Asset
7676
id: upload-war
77-
uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2.4.0
77+
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
7878
env:
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8080
with:
@@ -109,7 +109,7 @@ jobs:
109109
- name: Upload Release Asset
110110
id: upload-deb
111111
if: always()
112-
uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2.4.0
112+
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
113113
env:
114114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115115
with:
@@ -145,7 +145,7 @@ jobs:
145145
- name: Upload Release Asset
146146
id: upload-rpm
147147
if: always()
148-
uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2.4.0
148+
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
149149
env:
150150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
151151
with:
@@ -181,7 +181,7 @@ jobs:
181181
- name: Upload Release Asset
182182
id: upload-msi
183183
if: always()
184-
uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2.4.0
184+
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
185185
env:
186186
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
187187
with:
@@ -217,7 +217,7 @@ jobs:
217217
- name: Upload Release Asset
218218
id: upload-suse-rpm
219219
if: always()
220-
uses: softprops/action-gh-release@aec2ec56f94eb8180ceec724245f64ef008b89f5 # v2.4.0
220+
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
221221
env:
222222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
223223
with:

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ properties([
1414

1515
def axes = [
1616
platforms: ['linux', 'windows'],
17-
jdks: [17, 21],
17+
jdks: [17, 21, 25],
1818
]
1919

2020
stage('Record build') {
@@ -34,7 +34,7 @@ stage('Record build') {
3434
sh "launchable verify && launchable record build --name ${launchableName} --source jenkinsci/jenkins=."
3535
axes.values().combinations {
3636
def (platform, jdk) = it
37-
if (platform == 'windows' && jdk != 17) {
37+
if (platform == 'windows' && jdk != axes.jdks.last()) {
3838
return // unnecessary use of hardware
3939
}
4040
def sessionFile = "launchable-session-${platform}-jdk${jdk}.txt"
@@ -60,7 +60,7 @@ def builds = [:]
6060

6161
axes.values().combinations {
6262
def (platform, jdk) = it
63-
if (platform == 'windows' && jdk != 17) {
63+
if (platform == 'windows' && jdk != axes.jdks.last()) {
6464
return // unnecessary use of hardware
6565
}
6666
builds["${platform}-jdk${jdk}"] = {
@@ -218,7 +218,7 @@ axes.values().combinations {
218218

219219
def athAxes = [
220220
platforms: ['linux'],
221-
jdks: [17],
221+
jdks: [21],
222222
browsers: ['firefox'],
223223
]
224224
athAxes.values().combinations {

ath.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ set -o xtrace
66
cd "$(dirname "$0")"
77

88
# https://github.com/jenkinsci/acceptance-test-harness/releases
9-
export ATH_VERSION=6388.v40780b_42e87e
9+
export ATH_VERSION=6446.v64eb_f0dfb_26d
1010

1111
if [[ $# -eq 0 ]]; then
12-
export JDK=17
12+
export JDK=21
1313
export BROWSER=firefox
1414
else
1515
export JDK=$1

bom/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ THE SOFTWARE.
4141
<commons-fileupload2.version>2.0.0-M4</commons-fileupload2.version>
4242
<groovy.version>2.4.21</groovy.version>
4343
<jelly.version>1.1-jenkins-20250731</jelly.version>
44-
<stapler.version>2045.v99842815dd20</stapler.version>
44+
<stapler.version>2050.v425108fd5089</stapler.version>
4545
</properties>
4646

4747
<dependencyManagement>
@@ -63,15 +63,15 @@ THE SOFTWARE.
6363
<dependency>
6464
<groupId>org.springframework</groupId>
6565
<artifactId>spring-framework-bom</artifactId>
66-
<version>6.2.11</version>
66+
<version>6.2.12</version>
6767
<type>pom</type>
6868
<scope>import</scope>
6969
</dependency>
7070
<dependency>
7171
<!-- https://docs.spring.io/spring-security/reference/6.3/getting-spring-security.html#getting-maven-no-boot -->
7272
<groupId>org.springframework.security</groupId>
7373
<artifactId>spring-security-bom</artifactId>
74-
<version>6.5.5</version>
74+
<version>6.5.6</version>
7575
<type>pom</type>
7676
<scope>import</scope>
7777
</dependency>
@@ -109,7 +109,7 @@ THE SOFTWARE.
109109
<dependency>
110110
<groupId>commons-codec</groupId>
111111
<artifactId>commons-codec</artifactId>
112-
<version>1.19.0</version>
112+
<version>1.20.0</version>
113113
</dependency>
114114
<dependency>
115115
<groupId>commons-collections</groupId>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ THE SOFTWARE.
5757
<dependency>
5858
<groupId>org.xmlunit</groupId>
5959
<artifactId>xmlunit-bom</artifactId>
60-
<version>2.10.4</version>
60+
<version>2.11.0</version>
6161
<type>pom</type>
6262
<scope>import</scope>
6363
</dependency>

core/src/main/java/hudson/Extension.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@
8787
/**
8888
* If an extension is optional, don't log any class loading errors when reading it.
8989
* @since 1.358
90+
* @deprecated This is very difficult to use correctly and rarely what you actually wanted.
91+
* Use {@code OptionalExtension} from the {@code variant} plugin instead.
9092
*/
93+
@Deprecated
9194
boolean optional() default false;
9295

9396
/**

core/src/main/java/hudson/ExtensionFinder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public DefaultGuiceExtensionAnnotation() {
193193
super(Extension.class);
194194
}
195195

196+
@SuppressWarnings("deprecation")
196197
@Override
197198
protected boolean isOptional(Extension annotation) {
198199
return annotation.optional();
@@ -779,6 +780,7 @@ public void scout(Class extensionType, Hudson hudson) {
779780
}
780781
}
781782

783+
@SuppressWarnings("deprecation")
782784
private Level logLevel(IndexItem<Extension, Object> item) {
783785
return item.annotation().optional() ? Level.FINE : Level.WARNING;
784786
}

0 commit comments

Comments
 (0)