38980 Commits
Author SHA1 Message Date
Jan Faracik 3b578fdda4 Treat hyphens, underscores and spaces as equal in search (#27916) 2026-11-28 09:59:38 +00:00
Jan Faracik 00da88a306 Deduplicate action icon checks into MenuActions (#27917)
* Extract menu action icon helpers into MenuActions

The overflow menu and Functions.convertActionsToJson each had their own copy
of the "does this action have an icon" check, and the menu resolved legacy
image icons to symbols inline. Move both into MenuActions so they can be
shared, with no change in behaviour.

* Add javadoc and tests for MenuActions

* Update MenuActions.java

* Simplify
2026-11-28 08:13:02 +00:00
renovate[bot] 8d074b036e Update dependency stylelint-checkstyle-reporter to v2 (#27910)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 17:39:39 -07:00
Aditya PandeyandAditya060806 5715689880 docs: fix duplicated is in CONTRIBUTING pull request section (#27909)
docs: fix duplicated "is" in CONTRIBUTING pull request section

Removes a stray "is" from the branching note so the sentence reads
"It is a good practice to create branches instead of pushing to master."
Pure prose fix, no code or build impact.

No build commands were run; docs-only change.

Signed-off-by: Aditya Pandey <aditya060806@gmail.com>
Co-authored-by: Aditya060806 <adityapandey.cs28@gmail.com>
2026-11-27 17:39:21 -07:00
github-actions[bot]andtimja 0cfeeabd5d Fill in since annotations (#27907)
Co-authored-by: timja <21194782+timja@users.noreply.github.com>
2026-11-27 06:51:40 -07:00
renovate[bot] 8ba3c3cde3 Update dependency org.jenkins-ci.plugins:script-security to v1436.1438.v3dc5ef7d16f2 (#27905)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 06:51:23 -07:00
renovate[bot] 99693eead3 Update dependency io.jenkins.plugins:prism-api to v1.30.0-818.v187d7075b_db_8 (#27904)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 06:51:05 -07:00
kpunia306 ad70cedf66 Prevent potential NullPointerException in SCMTrigger$DescriptorImpl#clogCheck (#27899)
Guard against a null return value from AdministrativeMonitor.all().get(AdministrativeMonitorImpl.class) when updating the administrative monitor in clogCheck().

This also resolves the untriaged SpotBugs NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE exclusion for SCMTrigger$DescriptorImpl in core/src/spotbugs/excludesFilter.xml.
2026-11-27 06:50:48 -07:00
renovate[bot] 8cbf807c96 Update dependency org.jenkins-ci.plugins:credentials to v1521 (#27897)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 06:50:22 -07:00
renovate[bot] bc4911f0be Update Yarn to v4.19.0 (#27896)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 06:50:04 -07:00
renovate[bot] f53d3d4522 Update dependency postcss-loader to v8.2.2 (#27895)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 06:49:46 -07:00
renovate[bot] 08ae5395d6 Update dependency io.jenkins.plugins:bootstrap5-api to v5.3.9-1156.va_4c7fef67c56 (#27894)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-27 06:49:28 -07:00
Simon Kundrik 73aa1ad4ff Fix the link and avatar of a build started by a user that no longer exists (#27892)
Don't link to a user that does not exist in the cause of a build

The cause of a build that a user started keeps the id of the user. When there
is no such user any more, for example because an administrator deleted it, the
URL of the user is null, but the views of the cause only looked at the id. The
build page linked to "null", and the experimental build page showed a broken
avatar and linked to the dashboard. The console already says that such a build
was started by an unknown or anonymous user, so look at the user instead, and
show the same.
2026-11-27 06:49:08 -07:00
Simon Kundrik a1bfe8ae81 Fix the missing texts of the list of artifacts of a build (#27888)
Move the texts of the artifact list next to its view

hudson/model/Run/artifactList.jelly was split off lib/hudson/artifactList.jelly
in 6781baf183, but the properties files of the list stayed in lib/hudson. The
view finds no bundle next to it, so it prints its keys: "building" instead of
the note that a running build may have an incomplete list, and none of the
translations of the "view" link can be used.

Move the properties files, with their translations, next to the view.
2026-11-27 06:48:44 -07:00
Markus WinterandMark Waite 266fb45667 Make the buildTimeTrend page available for the new build list and render build time trend as inline svg (#27782)
* dedicated action for build time trend

* Render build time trend as svg instead of png

Use a bar chart to display the execution time of the run. Each bar is a
link to the run with a tooltip with display name, duration and
optionally the agent (not for pipeline jobs). The x-axis label is always
`#<build-number>`

* spotless

* Exclude the incorrect dead local store spotbugs warning

* address review findings

- escape quotes in tooltip
- build time trend is now an action. The links now need to go via the
  parent

---------

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2026-11-27 06:48:13 -07:00
Lalit Kishore R ad9fb2680f Stop repeated layout updates after dismissing administrative warnings (#27502)
Stop repeated layout updates after dismissing admin monitors
2026-11-27 06:47:53 -07:00
e0afb76659 Added some jelly documentation for step for numbers (#10983)
* added some jelly documentation for step for numbers

* Update core/src/main/resources/lib/form/number.jelly

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>

* applied suggestions

* applied suggestions

---------

Co-authored-by: Kris Stern <krisstern@outlook.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2026-11-27 06:47:27 -07:00
renovate[bot] 9632174c12 Update Node.js to v26 (#27631)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-25 13:16:30 -07:00
renovate[bot] 3209f9a6ed Update jenkins/ath Docker tag to v6814 (#27874)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-25 03:44:06 -07:00
renovate[bot] 85ea48c337 Update dependency stylelint to v18.1.0 (#27873)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-25 03:43:13 -07:00
renovate[bot] b02de8a060 Update dependency sass-loader to v17.1.1 (#27872)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-25 03:42:55 -07:00
renovate[bot] f4bed67a69 Update dependency @babel/core to v8.1.3 (#27871)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-25 03:42:37 -07:00
Simon Kundrik 8943e62fde Download Corepack instead of relying on the Node.js distribution (#27870)
Node.js no longer distributes Corepack as of 25.0.0. With the default
corepackVersion (provided) the frontend plugin copies Corepack out of the
Node.js distribution, finds nothing, and then tries to download
corepack-provided.tgz from the npm registry, which does not exist. The build
therefore fails right after the Node.js download on Node.js 26.

Set the Corepack version explicitly in a property. 0.36.0 is the version
Node.js 24.22.3 bundles, so builds on Node.js 24 keep using the same Corepack.
Renovate keeps the property up to date like node.version.
2026-11-25 03:42:19 -07:00
Jesse Glick 43de5f7bb9 Deleting DescendantFileSelector (#27869) 2026-11-25 03:41:58 -07:00
05c6a3d9d0 Bound the "**/" fallback scan in validateAntFileMask (#27867)
* Bound the "**/" fallback scan in validateAntFileMask

ValidateAntFileMask.hasMatch() already bounds its DirectoryScanner so a
missing/misspelled file mask gives up after a fixed number of negative
operations instead of walking the whole workspace. However, the second
heuristic check (retrying the mask with a "**/" prefix to suggest a
nested-path fix) built its own DirectoryScanner via
FileSet.getDirectoryScanner(), which is a plain, unbounded scanner.

On a workspace with a very large number of directories, archiveArtifacts
with a missing target and allowEmptyArchive=false calls
validateAntFileMask to produce a helpful error message, and the fast,
prunable initial scan can be followed by this unbounded "**/" scan,
which walks the entire tree accumulating unmatched files/directories
until the agent JVM hits OutOfMemoryError.

Extract the bounded-scanner setup into a shared boundedScan() helper and
use it for the "**/" check too, so it also gives up after the bound
instead of running unbounded.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Update FilePathTest for nested directory validation

Refactor test to validate nested path handling and suggestions.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-11-25 03:41:38 -07:00
kpunia306 bbb83e1716 [JENKINS-56378] Fix NullPointerException in ReverseBuildTrigger form validation without project context (#27816)
[JENKINS-56378] Handle null context gracefully in ReverseBuildTrigger#doCheckUpstreamProjects
2026-11-25 03:41:14 -07:00
Tim JacombandClaude Opus 5.5 89bf2a1d7a Match the user on the Recent tab whatever the case of their ID (#27877)
Security realms such as LDAP and Active Directory ignore the case of user
IDs, so a user who signs in as "Alice" starts builds as "Alice" while
their ID is "alice". Their builds weren't labelled or listed first.

The culprits stored with a completed build include the authors of its
changes, so they are checked first, and the changes are read only for
builds the user may have changed.


Claude-Session: https://claude.ai/code/session_01CsqM69jCLL4bRkTpAsX9xu

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 21:58:06 +00:00
Jan Faracik 845e268813 Show Manage Jenkins links in Command Palette (#27849) 2026-11-24 18:19:16 +00:00
Tim JacombandClaude Opus 5.5 f8364412a0 Prevent intermittent failures of concurrent CLI connections over HTTP and fix flakey test (#27868)
Do not leak CLI interrupts into pooled request threads

PlainCLIProtocol.FramedReader calls handleClose twice on EOF. The second
call could interrupt the request thread after ServerSideImpl.run had
finished its post-exit sleep but before runningThread was cleared,
leaving the interrupt flag set on a pooled Jetty thread. The next
FullDuplexHttpService download served by that thread then failed its
first wait() immediately and removed its session, so the matching
upload request failed with "No download side found". This made
Security3630Test flaky.

Guard runningThread with the instance lock and clear any pending
interrupt before returning the thread to the container.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:35:14 +00:00
Jan Faracik 8036ead4d9 Remove Users from Command Palette results (#27850) 2026-11-24 08:08:32 +00:00
Jenkins Release Bot 1be3a85e91 [maven-release-plugin] prepare for next development iteration 2026-11-24 06:10:18 +00:00
Jenkins Release Bot 03fe6572b3 [maven-release-plugin] prepare release jenkins-2.592 jenkins-2.592 2026-11-24 06:10:11 +00:00
Tim JacombandClaude Opus 5.5 55b0e29523 Add a Recent tab to the experimental dashboard home page (#27844)
* Add a Recent tab to the experimental dashboard home page

The Recent tab becomes the default tab, and shows running builds, then queued builds, then recently finished builds, with the ones the current user started or contributed changes to first. Recently finished builds come from a bounded in-memory index of the latest completed build of the most recently active jobs. The tab refreshes in place every few seconds, replacing only the rows that changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address review feedback on the dashboard's Recent tab

- Rank the user's finished builds before capping the list
- Leave out completed builds that an executor still holds
- Match the build's own changes rather than its culprits
- Update the running count badge on refresh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address more review feedback on the dashboard's Recent tab

- Remember each job's highest-numbered completed build, also when builds complete out of order
- Apply renames and deletions that happen while the recent builds are first loaded
- Show how long ago a build started, rather than when it was created
- Keep keyboard focus on a row's control when a refresh replaces it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Restore focus after expanding sections, and recover a job whose remembered build is gone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the newer build when a job is renamed, and refocus a control whose row moved

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Remember the last completed build of every job for the Recent tab

Users who can only see a few jobs still find their recent builds when the
rest of the instance is busier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Check each folder once when listing recently finished builds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep the recent builds index ordered, so reads don't sort it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Test that recent builds check each job in a readable folder

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Check the permission of each recently finished job, as not every folder does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Update recent builds by job name on renames and deletions, and read the name under the lock

Moving a folder notifies each item inside it, and deleting one deletes each item first, so scanning the whole
index on every notification made large folder changes quadratic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Hide running and queued builds in folders the user cannot read

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Expand the queued builds when the focused row moves into the hidden ones

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Show the run's app bar actions on Recent rows, as build history does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:41:29 +00:00
renovate[bot] 2143112460 Update dependency org.jenkins-ci.plugins:junit to v1466 (#27860)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-23 08:13:56 +00:00
renovate[bot] 574910ab9c Update dependency org.jenkins-ci.plugins:scm-api to v732 (#27862)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-23 08:03:28 +00:00
Jan Faracik 59061c32c6 Remove jQuery, Handlebars, and window-handle from the shared vendors bundle (#27827)
* Remove jQuery and Handlebars from the shared vendors bundle

* Remove window-handle

window-handle only let Node-based tests inject a fake window via
setWindow(). Those tests were removed in 2022 and nothing calls
setWindow anymore, so getWindow() always returned the global window.
Use window directly and drop the dependency.

* Report body-read failures to the error callback and remove unused storage helpers

A timeout or dropped connection while reading the response body
rejected inside the success handler, so neither callback ran and the
caller waited forever. Reading the body before handling the response
sends those failures to the error handler, as jQuery did.

Also deletes util/localStorage.js and util/jenkinsLocalStorage.js,
which nothing has imported since 2023.
2026-11-23 07:59:14 +00:00
renovate[bot] c33bd36450 Update dependency webpack to v5.113.0 (#27859)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-23 07:59:10 +00:00
renovate[bot] 7e7b46db91 Update dependency @webcomponents/webcomponentsjs to v2.8.1 (#27846)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-23 07:57:49 +00:00
renovate[bot] d0aa96edde Update dependency org.jenkins-ci.plugins:matrix-project to v954 (#27861)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-23 07:57:46 +00:00
Tim JacombandClaude Opus 5.5 849c337c84 Add an experimental dashboard home page with a paginated All tab (#27843)
* Add an experimental dashboard home page with a paginated All tab

Users with the experimental dashboard flag get a home page at the root URL made of tabs. The All tab lists the top-level items a page at a time as the user scrolls, with a search across every folder, so instances with thousands of jobs render quickly. Plugins can add tabs with a TransientActionFactory for Dashboard, typically returning an ItemListTab. The views stay reachable from a Views menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Make the empty-state links work from the dashboard's All tab URL

The setup links on an empty instance were relative, so they broke at /all/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Continue the All tab after the last item shown, and show the root welcome page when it is empty

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Satisfy SpotBugs about the nullable result of tryParseNumber

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Show the full names of items from inside folders in item list tabs

A plugin tab such as favourites can list items from any folder, and their short names alone are ambiguous.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Explain why the root's overflow menu follows the dashboard

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:57:29 +00:00
Tim JacombandClaude Opus 5.5 1921caa19c Extract the experimental job list row into a reusable tag (#27842)
Moves the row markup of projectView-new.jelly into lib/hudson/jobListItem.jelly, so other experimental pages can render the same rows.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:57:29 +00:00
renovate[bot] 6d3b530979 Update stapler.version to v2131 (#27863)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-23 07:57:24 +00:00
renovate[bot]andMark Waite c2b65a22fe Update dependency org.springframework.security:spring-security-bom to v7.2.0 (#27838)
* Update dependency org.springframework:spring-framework-bom to v7.1.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.springframework.security:spring-security-bom to v7.2.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2026-11-22 07:12:30 -07:00
renovate[bot] c377f51f77 Update dependency org.springframework:spring-framework-bom to v7.1.0 (#27837)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-22 07:12:16 -07:00
renovate[bot] 5002b490c7 Update dependency jquery to v4.1.0 (#27836)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-22 07:11:54 -07:00
renovate[bot] abddeda5d1 Update dependency vitest to v5.1.1 (#27835)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-22 07:11:41 -07:00
renovate[bot] 0b6a940019 Update dependency postcss-preset-env to v11.6.3 (#27834)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-22 07:11:30 -07:00
renovate[bot] b69d7a7f49 Update dependency org.jenkins-ci.plugins:junit to v1465 (#27833)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-22 07:11:19 -07:00
Adarsh Kumar Omrey 5a6d46dd7b Fix job name combobox decoration flickering on hover (#27832) 2026-11-22 07:11:06 -07:00
bardrop 5e4c903a92 Fix glued words, lookalike letters and broken HTML in translations (#27826)
- A line ending in '\' goes on with the next line minus its leading
  spaces, so 'word\' + '  next' loaded as 'wordnext'. 294 such places
  in 111 files, most in Bulgarian. Put the space before the '\'.
- Words in Bulgarian, Russian and Serbian that had a Latin a/c/e/o/p/j
  in them, plus a stray 'f' and a Latin 'je' in Serbian.
- Serbian <ТТ> and <а href> tags in Cyrillic, so the link and the
  code formatting did not work.

TranslationTextTest checks all three.
2026-11-22 07:10:53 -07:00