-
Task
-
Resolution: Fixed
-
Major
Stop using the formatted timestamp to compute Run.id, and just use the build number as the directory name, so that
r.getId().equals(String.valueOf(r.number))
in which case the timestamp would have to be made a nontransient field (but number could be transient). Then build number symlinks could be dispensed with, saving some hassle and overhead; and AbstractLazyLoadRunMap could be greatly simplified, since the disk location would be immediately predictable from the number, which is what most API calls care about.
The downside is that there would have to be a one-time migration, which could be slow on a big installation, and not reversible.
- depends on
-
JENKINS-26575 Running the reverse migrator after upgrading to 1.597 throws NoClassDefFoundError: javax/servlet/http/HttpServletRequest
- Open
-
JENKINS-26743 Build record migration prints warnings for permalinks
- Open
-
JENKINS-27531 Stack overflow in WorkflowRun.reload after run ID migration
- Resolved
-
JENKINS-26690 Build stats throws illegal argument exception on dashboard view
- Resolved
-
JENKINS-27055 Slave To Master Access Control needs updating for JENKINS_HOME layout change
- Resolved
-
JENKINS-29989 RunIdMigrator fails to revert Matrix and Maven jobs
- Resolved
-
JENKINS-26739 ISE from AbstractLazyLoadRunMap.proposeNewNumber for concurrent matrix builds
- Closed
-
JENKINS-26582 ISE from RunMap.put using /git/notifyCommit on a matrix project
- Closed
-
JENKINS-28865 java.lang.IllegalStateException: while using using /git/notifyCommit in Freestyle project
- Closed
- is blocking
-
JENKINS-25340 lost trend history after skipping build
- Reopened
- is related to
-
JENKINS-19977 Build records get confused by timezone changes
- Resolved
-
JENKINS-22767 AbstractLazyLoadRunMap.getById subject to race condition with .load
- Resolved
-
JENKINS-23130 nextBuildNumber keeps being set to previous numbers
- Resolved
-
JENKINS-23152 builds getting lost due to GerritTrigger
- Resolved
-
JENKINS-24376 Queue constantly locked when rapidly scheduling builds
- Resolved
-
JENKINS-29011 Jenkins 1.609.1 reverse migration script doesn't work when using a custom log folder
- Open
-
JENKINS-26519 Build records not migrated due to “failed to rename” on Windows
- Resolved
-
JENKINS-26496 Trying to get the DateFormat as build ID
- Resolved
-
JENKINS-26624 Content of BUILD_ID environment variable changed from timestamp to build number
- Resolved
-
JENKINS-26626 Zentimestamp plugin no longer compatible with Jenkins 1.597
- Resolved
-
JENKINS-26520 Environment Variables BUILD_ID and BUILD_NUMBER now return the same value
- Resolved
- links to