Commit Graph

36606 Commits

Author SHA1 Message Date
Jan Faracik 2c06eeb065 Reset 2025-03-28 08:02:15 +00:00
Jan Faracik 06fa3b321f Update index.jelly 2025-03-28 08:01:27 +00:00
Jan Faracik 6901d6e308 Update index.properties 2025-03-28 08:00:16 +00:00
Jan Faracik 49278c50be Init 2025-03-28 07:48:11 +00:00
Jan Faracik 0dba0868ab Update appearance page 2025-03-28 07:38:10 +00:00
Daniel Beck c0018b4983
Remove obsolete note from Javadoc
Mustang is the code name of Java 6. Jenkins has required Java 7 for almost a decade.
2025-03-28 00:52:43 +01:00
timja b547e3c4c3 Fill in since annotations 2025-03-27 16:07:50 +00:00
guruprasad 087a94f8a2
Disable WebClient's js in FileParameterValueTest and DirectoryBrowserSupportTest
These two tests looked like frequently failing in the test paths that visit a builds `ws` page, which is having the javascript execution issue
https://github.com/jenkinsci/jenkins-test-harness/issues/946

Here trying to disable the javascript in all the webclient usages in these two tests.
Note, I have disabled in the test methods that didn't visit the `ws` page specifially to keep the `getWebClient()` usage uniform.
2025-03-27 20:50:04 +05:30
Stefan Spieker 689d0f9d39 adjusted node assignment 2025-03-27 13:29:06 +01:00
Stefan Spieker b258542701 replaced in MasterBuildConfiguration config.groovy with config.jelly 2025-03-26 22:44:38 +01:00
Albert Puig 32ffe460ba
[JENKINS-75378] Improve javadoc to clarify execution flow of CLIListener
Updated Javadoc for `onCompleted` and `onThrowable` to explicitly state
that only one of these methods will be called as a result of a command execution.
2025-03-26 17:38:28 +01:00
guruprasad 0f3008d966
Disable javascript explicitely test method is running in ~5s vs previous ~40s 2025-03-26 20:23:53 +05:30
guruprasad 0a394eaab0
Enable LoggerRule for WebClient 2025-03-26 20:17:12 +05:30
Kris Stern fa0a181218
Merge branch 'master' into agent-custom-ssl-cert-cli-arg-test 2025-03-26 22:10:16 +08:00
Kris Stern 1c9c3867c6
Merge branch 'master' into JENKINS-75441 2025-03-26 22:09:58 +08:00
Kris Stern d8b6bf3e14
Merge branch 'master' into future 2025-03-26 22:09:45 +08:00
guruprasad cae52d9cf6
[DEBUG] FileParameterValueTest#fileParameter_canStillUse_internalHierarchy Test failure
The test `hudson.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy` failed in CI with error,
<details><summary>failure log</summary>

```
java.lang.NullPointerException: Cannot invoke "org.htmlunit.html.DomElement.getHtmlElementDescendants()" because "doc" is null
	at org.htmlunit.html.HtmlPage.executeDeferredScriptsIfNeeded(HtmlPage.java:1466)
	at org.htmlunit.html.HtmlPage.initialize(HtmlPage.java:265)
	at org.htmlunit.WebClient.loadWebResponseInto(WebClient.java:701)
	at org.htmlunit.WebClient.loadWebResponseInto(WebClient.java:575)
	at org.htmlunit.WebClient.getPage(WebClient.java:493)
	at org.htmlunit.WebClient.getPage(WebClient.java:402)
	at org.htmlunit.WebClient.getPage(WebClient.java:538)
	at org.htmlunit.WebClient.getPage(WebClient.java:520)
	at org.jvnet.hudson.test.JenkinsRule$WebClient.getPage(JenkinsRule.java:2740)
	at org.jvnet.hudson.test.JenkinsRule.after(JenkinsRule.java:519)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:677)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:840)
```
</details>

This is noticed in couple of PRs failing currently,
* https://github.com/jenkinsci/jenkins/pull/10456 ([ref failed test result](https://ci.jenkins.io/job/Core/job/jenkins/job/PR-10456/7/testReport/))
* https://github.com/jenkinsci/jenkins/pull/10467 ([ref failed test result](https://ci.jenkins.io/job/Core/job/jenkins/job/PR-10467/2/testReport/))

I haven't been able to reproduce in local, but theory is these below mentioned delays could be the cause,
* there is a slowness noticed in calls `wc.goTo(p.getUrl()...)` taking `~10s`.
* And once the test is complete the stopping is taking another `10s`.
<details><summary>log</summary>

```
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running hudson.model.FileParameterValueTest
=== Starting fileParameter_canStillUse_internalHierarchy(hudson.model.FileParameterValueTest)
   0.047 [id=21]	INFO	o.jvnet.hudson.test.WarExploder#explode: Using jenkins.war resources from /.../jenkins/war/target/jenkins
   0.304 [id=21]	INFO	o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:64862/jenkins/
   0.367 [id=21]	INFO	jenkins.model.Jenkins#<init>: Starting version 2.504-SNAPSHOT
   0.421 [id=36]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
   1.002 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/command-launcher.jpi as a dependency of gradle
   1.012 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/apache-httpcomponents-client-4-api.jpi as a dependency of gradle
   1.034 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/jdk-tool.jpi as a dependency of gradle
   1.052 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/trilead-api.jpi as a dependency of gradle
   1.079 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/eddsa-api.jpi as a dependency of gradle
   1.084 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/gson-api.jpi as a dependency of gradle
   1.098 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/mina-sshd-api-common.jpi as a dependency of gradle
   1.109 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/mina-sshd-api-core.jpi as a dependency of gradle
   1.134 [id=46]	INFO	hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin /var/folders/80/w8mmdy513sb3y9fp5fr7vvqc0000gn/T/jenkins1642946911825735225/sshd.jpi as a dependency of gradle
   1.353 [id=41]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
   1.362 [id=37]	INFO	j.b.api.BouncyCastlePlugin#start: /.../jenkins/test/target/j h15288515834251035408/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
   1.931 [id=53]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
   1.937 [id=34]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
   1.937 [id=47]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
   2.254 [id=53]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
   2.255 [id=53]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
   2.255 [id=37]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
   2.255 [id=37]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
   2.307 [id=50]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
   2.466 [test0 #1] Started by user SYSTEM
   2.466 [test0 #1] Running as SYSTEM
   2.466 [test0 #1] Building in workspace /.../jenkins/test/target/j h15288515834251035408/workspace/test0
   2.466 [test0 #1] Copying file to direct-child1.txt
   2.466 [test0 #1] Copying file to parent/child2.txt
   2.899 [test0 #1] Finished: SUCCESS
   3.046 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: getting ws
  14.449 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: got htmlunit for ws
  14.450 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: got ws
  14.452 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: getting ws/parent
  24.720 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: got htmlunit for ws/parent
  24.733 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: got ws/parent
  24.733 [id=21]	INFO	h.model.FileParameterValueTest#fileParameter_canStillUse_internalHierarchy: completed
  34.767 [id=21]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.
  34.799 [id=21]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
  34.840 [id=21]	INFO	o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /.../jenkins/test/target/j h15288515834251035408
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.15 s -- in hudson.model.FileParameterValueTest
```
</details>
2025-03-26 19:27:53 +05:30
Vincent Latombe c3e7f9feb5
Remove -D
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2025-03-26 14:47:11 +01:00
Tim Jacomb b28a0efd14
Update core/src/main/java/jenkins/security/DefaultConfidentialStore.java
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2025-03-26 13:25:05 +00:00
Mark Waite 52383af31b Fix javadoc generation failure due to checkstyle
The checkstyle warning fails the build and reports that the line is
longer than 240 characters.  Break the line on the sentence boundary
so that it is less than 240 characters.

Detected by running:

mvn -am -pl war,bom -Pquick-build clean install
mvn javadoc:javadoc
2025-03-26 05:16:29 -06:00
Vincent Latombe a2529ff14d
Fix javadoc
Amends #10235
2025-03-26 10:45:50 +01:00
guruprasad 56e76fe879
Delete the legacyIds file from recover_from_legacy_list.zip
File is: test/src/test/resources/hudson/model/QueueTest/recover_from_legacy_list.zip
Found it by `git ls-files -z | xargs -0 fgrep legacyIds`
Also verified there are no plain files in the repo `find . -type f -name 'legacyIds'`.

Before
```
Archive:  recover_from_legacy_list.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
     1526  02-09-2015 02:53   config.xml
      152  02-09-2015 02:53   hudson.model.UpdateCenter.xml
     1680  02-09-2015 02:53   identity.key.enc
      188  02-09-2015 02:53   jenkins.model.JenkinsLocationConfiguration.xml
        0  02-09-2015 02:53   jobs/
        0  02-09-2015 02:53   jobs/test/
        0  02-09-2015 02:53   jobs/test/builds/
        0  02-09-2015 02:53   jobs/test/builds/legacyIds
      468  02-09-2015 02:53   jobs/test/config.xml
      907  02-09-2015 02:53   nodeMonitors.xml
      611  02-09-2015 17:14   queue.xml
       64  02-09-2015 02:53   secret.key
        0  02-09-2015 02:53   secret.key.not-so-secret
        0  02-09-2015 02:53   secrets/
        0  02-09-2015 02:53   secrets/filepath-filters.d/
     2182  02-09-2015 02:53   secrets/filepath-filters.d/30-default.conf
      272  02-09-2015 02:53   secrets/hudson.util.Secret
       48  02-09-2015 02:53   secrets/jenkins.security.ApiTokenProperty.seed
      256  02-09-2015 02:53   secrets/master.key
      272  02-09-2015 02:53   secrets/org.jenkinsci.main.modules.instance_identity.InstanceIdentity.KEY
        0  02-09-2015 02:53   secrets/whitelisted-callables.d/
      953  02-09-2015 02:53   secrets/whitelisted-callables.d/default.conf
        0  02-09-2015 02:53   userContent/
       84  02-09-2015 02:53   userContent/readme.txt
---------                     -------
     9663                     24 files
```

After
```
Archive:  recover_from_legacy_list.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
     1526  02-09-2015 02:53   config.xml
      152  02-09-2015 02:53   hudson.model.UpdateCenter.xml
     1680  02-09-2015 02:53   identity.key.enc
      188  02-09-2015 02:53   jenkins.model.JenkinsLocationConfiguration.xml
        0  02-09-2015 02:53   jobs/
        0  02-09-2015 02:53   jobs/test/
        0  03-26-2025 14:58   jobs/test/builds/
      468  02-09-2015 02:53   jobs/test/config.xml
      907  02-09-2015 02:53   nodeMonitors.xml
      611  02-09-2015 17:14   queue.xml
       64  02-09-2015 02:53   secret.key
        0  02-09-2015 02:53   secret.key.not-so-secret
        0  02-09-2015 02:53   secrets/
      272  02-09-2015 02:53   secrets/hudson.util.Secret
        0  02-09-2015 02:53   secrets/filepath-filters.d/
     2182  02-09-2015 02:53   secrets/filepath-filters.d/30-default.conf
       48  02-09-2015 02:53   secrets/jenkins.security.ApiTokenProperty.seed
      256  02-09-2015 02:53   secrets/master.key
        0  02-09-2015 02:53   secrets/whitelisted-callables.d/
      953  02-09-2015 02:53   secrets/whitelisted-callables.d/default.conf
      272  02-09-2015 02:53   secrets/org.jenkinsci.main.modules.instance_identity.InstanceIdentity.KEY
        0  02-09-2015 02:53   userContent/
       84  02-09-2015 02:53   userContent/readme.txt
---------                     -------
     9663                     23 files
```
2025-03-26 15:05:40 +05:30
Guruprasad Bhat ca08316ff8
Merge branch 'master' into JENKINS-75465-remove-run-migrator 2025-03-26 12:42:12 +05:30
Daniel Beck b3651b4753 [SECURITY-3513]
Co-authored-by: Kevin-CB <kguerroudj@cloudbees.com>
2025-03-25 21:02:08 +00:00
Daniel Beck bf32018bf0 [SECURITY-3512]
Co-authored-by: Kevin-CB <kguerroudj@cloudbees.com>
2025-03-25 21:02:02 +00:00
renovate[bot] 14e4e43b34
Update dependency com.google.guava:guava to v33.4.6-jre 2025-03-25 20:14:07 +00:00
renovate[bot] dcfe4b8e00
Update dependency @babel/cli to v7.27.0 2025-03-25 15:46:39 +00:00
Kris Stern 49612ee403
Merge branch 'master' into JENKINS-75320 2025-03-25 22:47:58 +08:00
Jenkins Release Bot dddb4598df [maven-release-plugin] prepare for next development iteration 2025-03-25 14:01:44 +00:00
Jenkins Release Bot c8ed6ce328 [maven-release-plugin] prepare release jenkins-2.503 2025-03-25 14:01:20 +00:00
guruprasad 82d25cb6e6
Update the zip fixtures with datetime-format build dirs to number-format build dirs
Two archives
---------------
1. actionSerialization.zip

Before
```
→ unzip -l actionSerialization.zip
Archive:  actionSerialization.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  02-11-2017 21:51   jobs/
        0  02-11-2017 21:50   jobs/j/
        0  02-11-2017 21:51   jobs/j-windows/
        0  02-11-2017 21:51   jobs/j-windows/builds/
        0  02-11-2017 21:51   jobs/j-windows/builds/2013-06-05_14-30-12/
        0  02-11-2017 21:51   jobs/j-windows/builds/2013-06-05_14-30-12/archive/
       20  02-11-2017 22:01   jobs/j-windows/builds/2013-06-05_14-30-12/archive/a
      996  02-11-2017 22:05   jobs/j-windows/builds/2013-06-05_14-30-12/build.xml
        6  06-05-2013 11:30   jobs/j-windows/builds/2013-06-05_14-30-12/changelog.xml
      448  06-05-2013 11:30   jobs/j-windows/builds/2013-06-05_14-30-12/log
     1002  02-11-2017 21:51   jobs/j-windows/config.xml
        2  06-05-2013 11:30   jobs/j-windows/nextBuildNumber
        0  02-11-2017 21:50   jobs/j/builds/
        0  06-05-2013 11:30   jobs/j/builds/2013-06-05_14-30-12/
        0  06-05-2013 11:30   jobs/j/builds/2013-06-05_14-30-12/archive/
       12  06-05-2013 11:30   jobs/j/builds/2013-06-05_14-30-12/archive/a
      996  06-05-2013 11:30   jobs/j/builds/2013-06-05_14-30-12/build.xml
        6  06-05-2013 11:30   jobs/j/builds/2013-06-05_14-30-12/changelog.xml
      448  06-05-2013 11:30   jobs/j/builds/2013-06-05_14-30-12/log
      993  06-05-2013 11:30   jobs/j/config.xml
        2  06-05-2013 11:30   jobs/j/nextBuildNumber
---------                     -------
     4931                     21 files
```

After
```
Archive:  actionSerialization.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  03-25-2025 15:49   jobs/
        0  02-11-2017 21:51   jobs/j-windows/
        2  06-05-2013 11:30   jobs/j-windows/nextBuildNumber
        0  03-25-2025 15:48   jobs/j-windows/builds/
        0  03-25-2025 15:48   jobs/j-windows/builds/2/
        0  02-11-2017 21:51   jobs/j-windows/builds/2/archive/
       20  02-11-2017 22:01   jobs/j-windows/builds/2/archive/a
     1015  03-25-2025 15:48   jobs/j-windows/builds/2/build.xml
      448  06-05-2013 11:30   jobs/j-windows/builds/2/log
        6  06-05-2013 11:30   jobs/j-windows/builds/2/changelog.xml
     1002  02-11-2017 21:51   jobs/j-windows/config.xml
        0  02-11-2017 21:50   jobs/j/
        2  06-05-2013 11:30   jobs/j/nextBuildNumber
        0  03-25-2025 15:46   jobs/j/builds/
        0  03-25-2025 15:46   jobs/j/builds/2/
        0  06-05-2013 11:30   jobs/j/builds/2/archive/
       12  06-05-2013 11:30   jobs/j/builds/2/archive/a
     1015  03-25-2025 15:46   jobs/j/builds/2/build.xml
      448  06-05-2013 11:30   jobs/j/builds/2/log
        6  06-05-2013 11:30   jobs/j/builds/2/changelog.xml
      993  06-05-2013 11:30   jobs/j/config.xml
---------                     -------
     4969                     21 files
```

2. getArtifactsUpTo.zip

Before
```
Archive:  getArtifactsUpTo.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
      528  11-11-2009 07:05   config.xml
        0  11-10-2009 06:38   jobs/
        0  04-28-2010 20:55   jobs/testJob/
        0  04-28-2010 20:56   jobs/testJob/builds/
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/
        0  04-28-2010 20:59   jobs/testJob/builds/2010-04-28_08-26-00/archive/
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/archive/foo/
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/archive/foo/bar/
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/archive/foo/bar/two.txt
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/archive/sub/
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/archive/sub/dir/
        0  04-28-2010 20:58   jobs/testJob/builds/2010-04-28_08-26-00/archive/sub/dir/one.txt
        0  04-28-2010 20:59   jobs/testJob/builds/2010-04-28_08-26-00/archive/three.txt
      255  04-28-2010 20:57   jobs/testJob/builds/2010-04-28_08-26-00/build.xml
        0  04-28-2010 20:57   jobs/testJob/builds/2010-04-28_08-26-00/log
      311  04-28-2010 20:55   jobs/testJob/config.xml
---------                     -------
     1094                     16 files
```

After
```
Archive:  getArtifactsUpTo.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
      528  11-11-2009 07:05   config.xml
        0  11-10-2009 06:38   jobs/
        0  04-28-2010 20:55   jobs/testJob/
        0  03-25-2025 15:56   jobs/testJob/builds/
        0  03-25-2025 15:56   jobs/testJob/builds/1/
        0  04-28-2010 20:59   jobs/testJob/builds/1/archive/
        0  04-28-2010 20:59   jobs/testJob/builds/1/archive/three.txt
        0  04-28-2010 20:58   jobs/testJob/builds/1/archive/sub/
        0  04-28-2010 20:58   jobs/testJob/builds/1/archive/sub/dir/
        0  04-28-2010 20:58   jobs/testJob/builds/1/archive/sub/dir/one.txt
        0  04-28-2010 20:58   jobs/testJob/builds/1/archive/foo/
        0  04-28-2010 20:58   jobs/testJob/builds/1/archive/foo/bar/
        0  04-28-2010 20:58   jobs/testJob/builds/1/archive/foo/bar/two.txt
      273  03-25-2025 15:56   jobs/testJob/builds/1/build.xml
        0  04-28-2010 20:57   jobs/testJob/builds/1/log
      311  04-28-2010 20:55   jobs/testJob/config.xml
---------                     -------
     1112                     16 files
```

Git Diffs
----------
1. actionSerialization.zip
```
diff --git a/j-windows/builds/2013-06-05_14-30-12/archive/a b/j-windows/builds/2/archive/a
similarity index 100%
rename from j-windows/builds/2013-06-05_14-30-12/archive/a
rename to j-windows/builds/2/archive/a
diff --git a/j-windows/builds/2013-06-05_14-30-12/build.xml b/j-windows/builds/2/build.xml
similarity index 95%
rename from j-windows/builds/2013-06-05_14-30-12/build.xml
rename to j-windows/builds/2/build.xml
index 0ecfb2f..fc4d2fc 100644
--- a/j-windows/builds/2013-06-05_14-30-12/build.xml
+++ b/j-windows/builds/2/build.xml
@@ -16,7 +16,7 @@
       </record>
     </hudson.tasks.Fingerprinter_-FingerprintAction>
   </actions>
-  <number>2</number>
+  <timestamp>1370422812000</timestamp>
   <startTime>1370457012935</startTime>
   <result>SUCCESS</result>
   <duration>178</duration>
@@ -27,4 +27,4 @@
   <hudsonVersion>1.519-SNAPSHOT (private-06/05/2013 00:16 GMT-jglick)</hudsonVersion>
   <scm class="hudson.scm.NullChangeLogParser"/>
   <culprits class="com.google.common.collect.EmptyImmutableSortedSet"/>
-</build>
\ No newline at end of file
+</build>
diff --git a/j-windows/builds/2013-06-05_14-30-12/changelog.xml b/j-windows/builds/2/changelog.xml
similarity index 100%
rename from j-windows/builds/2013-06-05_14-30-12/changelog.xml
rename to j-windows/builds/2/changelog.xml
diff --git a/j-windows/builds/2013-06-05_14-30-12/log b/j-windows/builds/2/log
similarity index 100%
rename from j-windows/builds/2013-06-05_14-30-12/log
rename to j-windows/builds/2/log
diff --git a/j/builds/2013-06-05_14-30-12/archive/a b/j/builds/2/archive/a
similarity index 100%
rename from j/builds/2013-06-05_14-30-12/archive/a
rename to j/builds/2/archive/a
diff --git a/j/builds/2013-06-05_14-30-12/build.xml b/j/builds/2/build.xml
similarity index 95%
rename from j/builds/2013-06-05_14-30-12/build.xml
rename to j/builds/2/build.xml
index 0a4480b..96bc7f2 100644
--- a/j/builds/2013-06-05_14-30-12/build.xml
+++ b/j/builds/2/build.xml
@@ -16,7 +16,7 @@
       </record>
     </hudson.tasks.Fingerprinter_-FingerprintAction>
   </actions>
-  <number>2</number>
+  <timestamp>1370422812000</timestamp>
   <startTime>1370457012935</startTime>
   <result>SUCCESS</result>
   <duration>178</duration>
@@ -27,4 +27,4 @@
   <hudsonVersion>1.519-SNAPSHOT (private-06/05/2013 00:16 GMT-jglick)</hudsonVersion>
   <scm class="hudson.scm.NullChangeLogParser"/>
   <culprits class="com.google.common.collect.EmptyImmutableSortedSet"/>
-</build>
\ No newline at end of file
+</build>
diff --git a/j/builds/2013-06-05_14-30-12/changelog.xml b/j/builds/2/changelog.xml
similarity index 100%
rename from j/builds/2013-06-05_14-30-12/changelog.xml
rename to j/builds/2/changelog.xml
diff --git a/j/builds/2013-06-05_14-30-12/log b/j/builds/2/log
similarity index 100%
rename from j/builds/2013-06-05_14-30-12/log
rename to j/builds/2/log
```

2. getArtifactsUpTo.zip
```
diff --git a/builds/2010-04-28_08-26-00/archive/foo/bar/two.txt b/builds/1/archive/foo/bar/two.txt
similarity index 100%
rename from builds/2010-04-28_08-26-00/archive/foo/bar/two.txt
rename to builds/1/archive/foo/bar/two.txt
diff --git a/builds/2010-04-28_08-26-00/archive/sub/dir/one.txt b/builds/1/archive/sub/dir/one.txt
similarity index 100%
rename from builds/2010-04-28_08-26-00/archive/sub/dir/one.txt
rename to builds/1/archive/sub/dir/one.txt
diff --git a/builds/2010-04-28_08-26-00/archive/three.txt b/builds/1/archive/three.txt
similarity index 100%
rename from builds/2010-04-28_08-26-00/archive/three.txt
rename to builds/1/archive/three.txt
diff --git a/builds/2010-04-28_08-26-00/build.xml b/builds/1/build.xml
similarity index 85%
rename from builds/2010-04-28_08-26-00/build.xml
rename to builds/1/build.xml
index 8764092..c65adfe 100644
--- a/builds/2010-04-28_08-26-00/build.xml
+++ b/builds/1/build.xml
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <build>
   <actions/>
-  <number>1</number>
+  <timestamp>1272423360000</timestamp>
   <result>SUCCESS</result>
   <duration>100</duration>
   <keepLog>false</keepLog>
diff --git a/builds/2010-04-28_08-26-00/log b/builds/1/log
similarity index 100%
rename from builds/2010-04-28_08-26-00/log
rename to builds/1/log
```
2025-03-25 16:41:15 +05:30
Guruprasad Bhat f1d712bb04
Merge branch 'master' into JENKINS-75465-remove-run-migrator 2025-03-25 12:52:39 +05:30
guruprasad b140c21bd3
Remove unneeded import after var usage 2025-03-25 12:25:51 +05:30
guruprasad adcf350117
Delete the legacyIds file if exists upon jobLoad
See https://github.com/jenkinsci/jenkins/pull/10456#issuecomment-2748112449,
deleting the legacyIds file help reduce the number of inodes.
But when doing the downgrade not having the legacyIds file may impact significantly as mentioned in https://issues.jenkins.io/browse/JENKINS-64356

Currently upon upgrade first time start up will have mesages like,
```
2025-03-25 05:33:41.971+0000 [id=41]	INFO	h.p.b.g.GlobalTimeOutConfiguration#load: global timeout not set
2025-03-25 05:33:42.285+0000 [id=40]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
2025-03-25 05:33:42.285+0000 [id=40]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
2025-03-25 05:33:42.291+0000 [id=39]	INFO	hudson.model.Job#onLoad: Deleting legacyIds file in /.../jhome/jobs/fjob_2_502/builds. See https://issues.jenkins.io/browse/JENKINS-75465 for more information.
2025-03-25 05:33:42.291+0000 [id=44]	INFO	hudson.model.Job#onLoad: Deleting legacyIds file in /.../jhome/jobs/job_2_502/builds. See https://issues.jenkins.io/browse/JENKINS-75465 for more information.
2025-03-25 05:33:42.310+0000 [id=45]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
2025-03-25 05:33:42.313+0000 [id=54]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2025-03-25 05:33:42.324+0000 [id=33]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
2025-03-25 05:33:42.342+0000 [id=26]	INFO	hudson.lifecycle.Lifecycle#onReady: Jenkins is fully up and running
```
2025-03-25 11:05:18 +05:30
guruprasad 6f9d8bb206
Still catch the NumberFormatException in getById
As the arg is of type `String` it is not gauranteed if a non number comes somehow.
See https://github.com/jenkinsci/jenkins/pull/10456/files#r2010184507
2025-03-25 10:14:21 +05:30
guruprasad 94f5a1648d
Remove the test added for legacyIds REST API and CLIs
This test was written as originally the legacyIds were missing when the job was created from CLI or REST API.
https://github.com/jenkinsci/jenkins/pull/8758/files

Later after the issue was fixed, ensuring CLI and REST API jobs also have legacyIds files, the test was made active,
https://github.com/jenkinsci/jenkins/pull/9303

Now as the entire RunMigrator itself is going away there is no need for this test anymore.
2025-03-25 10:02:30 +05:30
guruprasad fff0400f29
Remove the unmigrator's jelly files
The unmigrator and associated jelly file was added in 711b3325ad (diff-0d6badde279147be675402c9ace9f24434ba7942c2bb83ce79f069d0dc5a5eb2)
In March 2024, the  unmigrator was deleted via https://github.com/jenkinsci/jenkins/pull/9092; however it appears to have missed to remove the Jelly files. Now deleting the jelly file and other resources.
2025-03-25 09:58:53 +05:30
Basil Crow 25e85749e3 Return `Future` from `Provider#sendBinary(ByteBuffer, boolean)` 2025-03-24 15:41:03 -07:00
Jesse Glick df301f5e08
Merge branch 'master' into agent-custom-ssl-cert-cli-arg-test 2025-03-24 17:36:33 -04:00
Kris Stern 5e77235d87
Migrate from EE 8 to EE 9 in Jelly and Groovy views (#10443) 2025-03-25 01:23:23 +08:00
renovate[bot] 09b1ffd28b
Update dependency io.jenkins.plugins:plugin-util-api to v6.1.0 (#10458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:48:03 -07:00
renovate[bot] ae1d16c24c
Update dependency org.jenkins-ci.main:jenkins-test-harness to v2421 (#10455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:46:24 -07:00
Thorsten Scherler 49b92c7cf5
Merge branch 'master' into JENKINS-75320 2025-03-24 16:13:45 +01:00
PhilippHomann e559032217
Merge branch 'master' into build-page-console-height 2025-03-24 13:14:47 +01:00
guruprasad 44e606b8bc
Delete RunIdMigrator as it has been 10 years since this migration 2025-03-24 16:34:03 +05:30
Kris Stern ba1219d84d
Improve appearance of tooltips and dropdowns (#10428) 2025-03-24 09:41:29 +08:00
Basil Crow ad7339403f
Add note about updating `jetty-ee9-maven-plugin` (#10452) 2025-03-23 11:00:14 -07:00
renovate[bot] 6ca5d82ef0
Update Winstone and Jetty (#10451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-23 09:28:46 -07:00
renovate[bot] dddd07b810
Update dependency org.jenkins-ci.main:jenkins-test-harness to v2420 (#10450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-23 09:18:58 -07:00
Basil Crow 82cba8408b
Upgrade Winstone/Jetty with Renovate (#10447) 2025-03-23 09:17:29 -07:00