Skip to content

Commit bbdb3dc

Browse files
committed
Merge branch 'master' into fix-23864-firefox-builds
2 parents 8b225b8 + 396e6e9 commit bbdb3dc

File tree

19 files changed

+672
-585
lines changed

19 files changed

+672
-585
lines changed

ath.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -o xtrace
66
cd "$(dirname "$0")"
77

88
# https://github.com/jenkinsci/acceptance-test-harness/releases
9-
export ATH_VERSION=6507.vef7dc6b_6f5c4
9+
export ATH_VERSION=6512.v7b_8c43086a_6f
1010

1111
if [[ $# -eq 0 ]]; then
1212
export JDK=21

bom/pom.xml

Lines changed: 5 additions & 5 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>2061.v3949245133a_f</stapler.version>
44+
<stapler.version>2065.v7db_c1fcf0a_d0</stapler.version>
4545
</properties>
4646

4747
<dependencyManagement>
@@ -215,7 +215,7 @@ THE SOFTWARE.
215215
<dependency>
216216
<groupId>org.jenkins-ci</groupId>
217217
<artifactId>annotation-indexer</artifactId>
218-
<version>1.18</version>
218+
<version>1.213.v92788b_1f0a_21</version>
219219
</dependency>
220220
<dependency>
221221
<groupId>org.jenkins-ci</groupId>
@@ -250,17 +250,17 @@ THE SOFTWARE.
250250
<dependency>
251251
<groupId>org.jenkins-ci</groupId>
252252
<artifactId>symbol-annotation</artifactId>
253-
<version>1.25</version>
253+
<version>1.26</version>
254254
</dependency>
255255
<dependency>
256256
<groupId>org.jenkins-ci</groupId>
257257
<artifactId>task-reactor</artifactId>
258-
<version>1.9</version>
258+
<version>1.10</version>
259259
</dependency>
260260
<dependency>
261261
<groupId>org.jenkins-ci</groupId>
262262
<artifactId>version-number</artifactId>
263-
<version>1.12</version>
263+
<version>1.14</version>
264264
</dependency>
265265
<dependency>
266266
<groupId>org.jenkins-ci.main</groupId>

core/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ THE SOFTWARE.
4040

4141
<properties>
4242
<!-- Minimum Remoting version, which is tested for API compatibility, duplicated so that renovate only updates the latest remoting version property -->
43-
<remoting.minimum.supported.version>3107.v665000b_51092</remoting.minimum.supported.version>
43+
<remoting.minimum.supported.version>3176.v207ec082a_8c0</remoting.minimum.supported.version>
4444
<!-- Filled in by jacoco-maven-plugin -->
4545
<jacocoSurefireArgs />
4646
</properties>
@@ -419,7 +419,7 @@ THE SOFTWARE.
419419
<!-- working around MCOMPILER-97 -->
420420
<groupId>org.jenkins-ci</groupId>
421421
<artifactId>core-annotation-processors</artifactId>
422-
<version>13.v2dcfc22a_a_b_29</version>
422+
<version>59.ve181f58722c6</version>
423423
<scope>provided</scope>
424424
<optional>true</optional>
425425
</dependency>
@@ -651,7 +651,7 @@ THE SOFTWARE.
651651
<!-- Version specified in grandparent POM -->
652652
<configuration>
653653
<!-- Make sure to keep the directives in test/pom.xml and war/pom.xml in sync with these. -->
654-
<argLine>@{jacocoSurefireArgs} --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -javaagent:${org.mockito:mockito-core:jar}</argLine>
654+
<argLine>@{jacocoSurefireArgs} --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -javaagent:"${org.mockito:mockito-core:jar}"</argLine>
655655
<reuseForks>false</reuseForks>
656656
</configuration>
657657
</plugin>

core/src/main/java/hudson/model/Build.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
*
8484
* @author Kohsuke Kawaguchi
8585
*/
86-
public abstract class Build<P extends Project<P, B>, B extends Build<P, B>>
86+
public abstract class Build<P extends Project<P, B>, B extends Build<P, B>>
8787
extends AbstractBuild<P, B> {
8888

8989
/**

core/src/main/java/hudson/model/BuildableItem.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,14 @@ default boolean scheduleBuild(int quietPeriod) {
5757
}
5858

5959
boolean scheduleBuild(int quietPeriod, Cause c);
60+
61+
/**
62+
* Whether the item is buildable.
63+
*
64+
* @return true, if the item can be built.
65+
* @since TODO
66+
*/
67+
default boolean isBuildable() {
68+
return true;
69+
}
6070
}

core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,14 @@ private String getErrorMessages(SignupInfo si) {
363363
* This can be run by anyone, but only to create the very first user account.
364364
*/
365365
@RequirePOST
366-
public void doCreateFirstAccount(StaplerRequest2 req, StaplerResponse2 rsp) throws IOException, ServletException {
366+
public synchronized void doCreateFirstAccount(StaplerRequest2 req, StaplerResponse2 rsp)
367+
throws IOException, ServletException {
368+
367369
if (hasSomeUser()) {
368370
rsp.sendError(SC_UNAUTHORIZED, "First user was already created");
369371
return;
370372
}
373+
371374
User u = createAccount(req, rsp, false, "firstUser.jelly");
372375
if (u != null) {
373376
tryToMakeAdmin(u);

core/src/main/java/jenkins/model/ParameterizedJobMixIn.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import hudson.model.Cause;
4141
import hudson.model.CauseAction;
4242
import hudson.model.Item;
43+
import hudson.model.ItemGroup;
4344
import hudson.model.Items;
4445
import hudson.model.Job;
4546
import hudson.model.ParameterDefinition;
@@ -562,8 +563,17 @@ default RunT createExecutable() throws IOException {
562563
return null;
563564
}
564565

566+
@Override
565567
default boolean isBuildable() {
566-
return !isDisabled() && !((Job) this).isHoldOffBuildUntilSave();
568+
if (isDisabled() || ((Job) this).isHoldOffBuildUntilSave()) {
569+
return false;
570+
}
571+
// If parent is disabled, child jobs (e.g., branch jobs) should not be buildable
572+
ItemGroup<? extends Item> parentGroup = ((Job) this).getParent();
573+
if (parentGroup instanceof BuildableItem bi) {
574+
return bi.isBuildable();
575+
}
576+
return true;
567577
}
568578

569579
@Extension

core/src/main/java/jenkins/telemetry/impl/JavaSystemProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ public String getDisplayName() {
7070
@NonNull
7171
@Override
7272
public LocalDate getStart() {
73-
return LocalDate.of(2023, 12, 17);
73+
return LocalDate.of(2026, 1, 4);
7474
}
7575

7676
@NonNull
7777
@Override
7878
public LocalDate getEnd() {
79-
return LocalDate.of(2024, 4, 1);
79+
return LocalDate.of(2026, 4, 1);
8080
}
8181

8282
@Override

core/src/main/resources/jenkins/agents/CloudSet/index.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ THE SOFTWARE.
2727
-->
2828
<?jelly escape-by-default='true'?>
2929
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:f="/lib/form">
30-
<l:settings-subpage managementLink="${it.managementLink}" header="${null}">
30+
<l:settings-subpage managementLink="${it.managementLink}" header="${null}" noDefer="true">
3131
<l:isAdmin>
3232
<script src="${resURL}/jsbundles/pages/cloud-set.js" type="text/javascript" />
3333
<link rel="stylesheet" href="${resURL}/jsbundles/pages/cloud-set.css" type="text/css" />

core/src/main/resources/lib/layout/job-subpage.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ THE SOFTWARE.
103103
</j:when>
104104
</j:choose>
105105

106-
<l:overflowButton>
106+
<l:overflowButton id="more-item-actions">
107107
<dd:custom>
108108
<div class="app-build-overflow">
109109
<j:set var="mode" value="side-panel" />

0 commit comments

Comments
 (0)