Commit Graph
14563 Commits
Author SHA1 Message Date
Jan FaracikandTim Jacomb 331c7685ca Display Console Output on the build page (behind an experimental flag) (#10115)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2025-01-09 15:27:05 +00:00
Kris Stern 519eb19bc8 Merge pull request #9980 from basil/OptionHandlerExtension
Register `OptionHandler`s through `META-INF/services/annotations` and Annotation Indexer rather than `META-INF/services` and Commons Discovery
2025-01-04 16:01:19 +08:00
Vincent Latombe c369723af0 Simplify AtomicFileWriter and use clearer temporary file names (#10058)
* Simplify AtomicFileWriter and use clearer temporary file names

* Uses a more readable name for the temporary file, derived from the target path
* Streamline the fallback logic for atomic move, and just let the error bubble up otherwise rather than logging then throwing which was leading to duplicate stacktraces in the system logs

Related to https://github.com/jenkinsci/jenkins/pull/2548#discussion_r79500936

* Persist fallback to non-atomic move if filesystem throws AtomicMoveNotSupportedException

* Extract to a static method

* Fix reviews
2024-12-19 09:12:07 +00:00
Basil Crow b3b5a69416 Merge branch 'master' into OptionHandlerExtension 2024-12-17 10:19:22 -10:00
Basil Crow 34aba67577 [JENKINS-75003] Zip-based tool installer configuration incorrectly rejects non-HTTP(S) URLs (regression in 2.379) (#10065)
[JENKINS-75003] Zip-based tool installer configuration incorrectly rejects non-HTTP(S) URLs
2024-12-17 07:17:43 +00:00
87e94651ac Add icons to Command Palette (#10049)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-12-16 16:27:02 +00:00
Jesse Glick ae56d43fec PeepholePermalink.Cache (#10042) 2024-12-15 19:44:48 +00:00
Basil Crow e4bff056c3 Reduce usage of Ant (#10059) 2024-12-15 19:44:26 +00:00
Jesse GlickandTim Jacomb 4943f167de Recover views after error in Jenkins.load (#10023)
* Recover views after error in `Jenkins.load`

* Prevent infinite recursion in `Jenkins/sidepanel.jelly` when `Jenkins.primaryView` is null

---------

Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2024-12-12 21:40:26 +00:00
Jesse Glick d773eb93a1 Expose User.reload as beta API (#10039) 2024-12-12 21:40:12 +00:00
Tim Jacomb 8c9caff51d [JENKINS-73539] Disable YUI by default (#10045) 2024-12-12 21:39:25 +00:00
930c7ffe7d Overhaul search with a Command Palette (#7569)
Co-authored-by: Wadeck Follonier <Wadeck@users.noreply.github.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2024-12-09 22:19:12 +00:00
f6802dd545 [JENKINS-69549] Margins for headers and paragraphs make descriptions … (#7078)
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2024-12-09 10:43:00 +00:00
Kris Stern d046516d5f Merge pull request #8435 from janfaracik/keyboard-shortcut-animation
Update appearance of keyboard shortcut tooltips
2024-12-08 22:47:03 +08:00
Tim Jacomb 33d8280c5a Merge branch 'master' into OptionHandlerExtension 2024-12-08 08:32:24 +00:00
Kris Stern 3beaec617b Merge pull request #9959 from timja/JENKINS-37241/autocomplete-improvements
[JENKINS-37241] Support for query parameters in autocomplete
2024-12-06 23:08:38 +08:00
Kris Stern 0f0b023b0f Merge pull request #9995 from tejasdrolia/BEE-51743
[JENKINS-74858]  Added validation for Password length in FIPS mode
2024-12-05 22:41:31 +08:00
Kris Stern 7d8d2a6f12 Merge pull request #10019 from slide/allow-subclasses-to-call-updateData
Allow subclasses of UpdateSite to call updateData
2024-12-05 21:13:22 +08:00
Tim Jacomb a1a313851e Merge branch 'master' into JENKINS-37241/autocomplete-improvements 2024-12-04 15:11:02 +00:00
Tejas 7d6b649aaa [JENKINS-74858] Resolved comments 2024-12-04 18:20:37 +05:30
Daniel Beck 171df4d105 Revert "Fixed spotbugs PATH_TRAVERSAL_IN issue in FileBoolean" (#10022)
Revert "Fixed spotbugs `PATH_TRAVERSAL_IN` issue in `FileBoolean` (#9638)"

This reverts commit e994d293e0.
2024-12-04 05:34:51 -07:00
Stefan SpiekerandMark Waite e994d293e0 Fixed spotbugs PATH_TRAVERSAL_IN issue in FileBoolean (#9638)
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2024-12-03 09:14:42 +00:00
Alex Earl 966e58684b Allow subclasses of UpdateSite to call updateData
The updateData method is required to be called for the
actual update data to be synced. For plugins that may
implement a different method for interacting with an
update site (e.g. an implementation of password or
API key protected update site being planned for the
Managed Update Sites plugin), we need to override
updateDirectlyNow and call updateData with the
retrieved JSON data.
2024-12-02 12:16:35 -07:00
Tejas 1c6282ee20 Merge branch 'master' into BEE-51743 2024-11-29 18:06:10 +05:30
Vincent Latombe 0235a800b8 Ensure NodeListener#onCreated is called once the Node initialization is complete (#9964) 2024-11-28 21:52:44 +00:00
Tejas 0cf9e31385 [JENKINS-74858] | Resolved some comments 2024-11-25 17:42:16 +05:30
Tejas 39171ee7fd Merge branch 'master' into BEE-51743 2024-11-20 21:51:25 +05:30
Tejas 7cfca7066e [JENKINS-74858] resolved some comments 2024-11-20 21:49:20 +05:30
Tejas afe7d250b8 BEE-51743 | Resolved comments 2024-11-20 18:03:49 +05:30
Tejas 93d34e3a94 BEE-51743 | Added validation for Password length in FIPS mode 2024-11-20 11:48:04 +05:30
github-actions[bot]andtimja ca121359ec Fill in since annotations (#9974)
Co-authored-by: timja <21194782+timja@users.noreply.github.com>
2024-11-16 20:50:47 +00:00
Basil Crow a1c8c83cf7 Register OptionHandlers through META-INF/services/annotations and Annotation Indexer rather than META-INF/services and Commons Discovery 2024-11-15 10:58:26 -08:00
Tim Jacomb d017d30898 [JENKINS-37241] Support for query parameters in autocomplete 2024-11-11 15:09:21 +00:00
Jesse Glick ec448b51c0 Clarify SECURITY-3315 error code on client side (#9930) 2024-11-09 21:46:17 +00:00
Jesse GlickandVincent Latombe abef2ccd40 Introducing ControllerToAgentCallable and ControllerToAgentFileCallable (#9921)
Co-authored-by: Vincent Latombe <vincent@latombe.net>
2024-11-09 21:46:02 +00:00
Basil CrowandMark Waite 8298257227 [JENKINS-74795] Job created via REST API attaches to default view (#9947)
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2024-11-08 05:49:26 -08:00
Basil Crow ac63b7f156 [JENKINS-74814] java.lang.UnsupportedOperationException: This stack walker does not have RETAIN_CLASS_REFERENCE access (#9945) 2024-11-08 05:49:00 -08:00
Jesse Glick e0a54f41da Race condition & memory leak in TypedFilter (#9925) 2024-11-02 07:25:31 -06:00
Jesse Glick 1892e21472 Job.BuildNumberAssigner (#9846)
* `Job.BuildNumberAssigner`

* Clearer API for `saveNextBuildNumber` https://github.com/jenkinsci/jenkins/pull/9846#discussion_r1792991572
2024-11-02 07:25:16 -06:00
Jesse Glick 5db2f0139c Avoid saving nextBuildNumber while loading Job (#9778) 2024-11-02 07:25:07 -06:00
github-actions[bot]andtimja 87cfc46068 Fill in since annotations (#9927)
Co-authored-by: timja <21194782+timja@users.noreply.github.com>
2024-11-01 13:34:56 +00:00
Vincent Latombe 97e1009673 When calling Nodes#setNodes, NodeListener methods should be called as required (#9905)
* When calling Nodes#setNodes, NodeListener methods should be called as required

For example, when loading a new casc configuration, it calls Nodes#setNodes, and the NodeListener methods were not called, causing listener implementations not to be notified according to the new state.

* Fix reviews
2024-10-25 15:32:29 -06:00
Allan Burdajewicz 9e256de2d1 [JENKINS-73845] Fix OperatingSystemEndOfLifeAdminMonitor endOfLifeDate displayed on first warning day (#9908)
* [JENKINS-73845] Fix OperatingSystemEndOfLifeAdminMonitor endOfLifeDate displayed on first warning day

* [JENKINS-73845] Add test

* [JENKINS-73845] Improve test
2024-10-25 15:31:35 -06:00
Jesse Glick 7a1630235f Removing configurability of Jenkins.agentProtocols (#9903) 2024-10-24 18:41:45 +01:00
github-actions[bot]andtimja 1f7b6a8f0e Fill in since annotations (#9910)
Co-authored-by: timja <21194782+timja@users.noreply.github.com>
2024-10-24 18:38:16 +01:00
Vincent Latombe d9fbb65e98 Display appropriate GUI that accurately displays offline by design (#9883) 2024-10-23 09:04:54 +01:00
Basil Crow 6c5cdfa96c Allow for null to be passed to doSafeRestart (#9882) 2024-10-21 19:37:27 +01:00
5f7026dd03 [JENKINS-71728] Add CSP compatible version of FormApply#applyResponse (#8351)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Yaroslav Afenkin <yaroslavafenkin@users.noreply.github.com>
Co-authored-by: Alexander Brandes <brandes.alexander@web.de>
Co-authored-by: Basil Crow <me@basilcrow.com>
2024-10-21 19:36:27 +01:00
Daniel BeckandDaniel Beck 2c92eae462 [JENKINS-73768] Handle base=derived case in Util#isOverridden (#9728)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2024-10-21 19:35:37 +01:00
Vincent Latombe e8360278e2 Print Jenkins version on boot (#9878) 2024-10-20 09:24:52 +01:00