Commit Graph
13506 Commits
Author SHA1 Message Date
res0nance 15549a6720 Minor cleanups to Fingerprint writing codepaths 2021-01-25 17:21:26 +08:00
203ec707b7 [JENKINS-64670] Improve performance in file fingerprint creation (#5190)
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
Co-authored-by: Baptiste Mathus <bmathus@gmail.com>
2021-01-23 08:43:31 +00:00
Jeff ThompsonandWadeck Follonier 5562c53d6b [JENKINS-64655] Provide default implementation for external storage
Co-authored-by: Wadeck Follonier <wadeck.follonier@gmail.com>
2021-01-20 12:43:30 +01:00
Wadeck Follonier f2d289c001 [JENKINS-64632] File handle leak correction 2021-01-19 11:29:09 +01:00
Wadeck Follonier ecf3095362 [JENKINS-64621] Fix zip regression (#5187) 2021-01-19 09:11:30 +00:00
JonandJon Sten f0fc1b8389 Log if no class paths was found for plugin (#5154)
Co-authored-by: Jon Sten <jons@axis.com>
2021-01-18 16:06:18 +00:00
Daniel Beck 82688811fa Merge branch 'security-master' into master 2021-01-13 15:41:47 +01:00
Jeff Thompson 71d2ecf1a4 [SECURITY-1452] 2021-01-11 16:53:00 +00:00
Jeff Thompson f576b2eb43 [SECURITY-2023] 2021-01-11 16:52:50 +00:00
Daniel Beck b1ca284966 [SECURITY-2147] 2021-01-11 16:52:29 +00:00
Jeff Thompson ea302e1f43 [SECURITY-1986] 2021-01-11 16:52:18 +00:00
Daniel Beck 89ec0c40b6 [SECURITY-2153] 2021-01-11 16:52:07 +00:00
Jeff Thompson b19b34db4b [SECURITY-2021] 2021-01-11 16:51:55 +00:00
Daniel Beck a1283377a5 [SECURITY-1893] 2021-01-11 16:51:45 +00:00
Jeff ThompsonandDaniel Beck f1056bd814 [SECURITY-1923]
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2021-01-11 16:51:35 +00:00
Jeff Thompson fe9091fc74 [SECURITY-2047] 2021-01-11 16:51:09 +00:00
Daniel Beck a890d68699 [SECURITY-2025] 2021-01-11 16:50:58 +00:00
Mark Waite 3d297b3438 Merge pull request #5153 from caseyduquettesc/casey-master
Add system property to override inbound TCP agent address
2021-01-08 14:08:14 -07:00
Casey Duquette 5750874104 Remove extra '@see' from javadoc 2021-01-07 22:42:52 -08:00
Casey Duquette bbae4b7c11 Restrict CUSTOM_INBOUND_URL_PROPERTY 2021-01-06 13:15:28 -08:00
Casey Duquette 36c6425836 Use SystemProperties 2021-01-06 11:54:07 -08:00
Tim JacombandJesse Glick ae88291731 [JENKINS-64423, JENKINS-46618] Resolve all core caused startup Illegal reflective access warnings (#5110)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2021-01-06 08:04:40 +00:00
Casey Duquette e7c8a095c8 Use a FlagRule for testing system property 2021-01-05 18:23:30 -08:00
CaseyandJesse Glick 0a8fde6dd1 Update core/src/main/java/hudson/slaves/JNLPLauncher.java
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2021-01-05 17:42:44 -08:00
Casey Duquette 219136311d comment 2021-01-05 16:56:57 -08:00
Casey Duquette b9c493dcb3 Update test 2021-01-05 16:49:32 -08:00
Casey Duquette e38d4d5ab3 redo as a system property 2021-01-05 16:29:32 -08:00
Oleg Nenashev d69a9dd75f Merge pull request #5146 from StefanSpieker/deprecated_line_separator
Replaced deprecated IOUtils.LINE_SEPARATOR with System.lineSeparator()
2021-01-05 07:53:30 +01:00
Casey Duquette 2853a78351 Add configurable jnlp root 2021-01-04 22:23:24 -08:00
Oleg Nenashev 86f6bb31d9 Merge pull request #5082 from res0nance/JENKINS-58101
[JENKINS-58101] Cache blockage reasons when considering parked executors
2021-01-02 18:21:54 +01:00
Oleg Nenashev a9ee90e7fc Merge pull request #5134 from basil/improvements
Code cleanup
2021-01-02 18:20:57 +01:00
Stefan Spieker e75345a85e replaced deprecated IOUtils.LINE_SEPARATOR with System.lineSeparator() 2020-12-31 15:40:38 +01:00
Pierre BeitzandDaniel Beck 4276aa7bf2 [JENKINS-63833] Make the groovy script source customizable (#4965)
* [JENKINS-63833] Make the groovy script source customizable

* [JENKINS-63833] Make the groovy script root directory customizable

* Apply suggestions from code review

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

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-12-27 17:58:41 +01:00
Antonio Muniz b7020adab9 [JENKINS-64465] Fix race condition on HudsonFilter#reset (#5131)
If `Jenkins#setSecurityRealm` is called concurrently from multiple threads there is a
potential race condition on the authentication filters registration.

`Jenkins#setSecurityRealm` calls `filter.reset()`, `HudsonFilter#reset` is not
synchronized however it is replacing the old filter with the new filter (if there was one)
 which is not a thread safe operation.

The effect of this race condition is the wrong auth filter being registered.
2020-12-21 09:03:21 +00:00
StefanSpieker e94401a563 Replaced deprecated Configuration with SystemProperties (#4962) 2020-12-21 09:00:41 +00:00
Basil Crow 64dbdbc4f5 Remove unused imports 2020-12-19 13:10:38 -08:00
Basil Crow 4e12567881 Remove unnecessary return 2020-12-19 13:10:38 -08:00
Basil Crow f31107fac2 Consolidate duplicate branches in switch statement 2020-12-19 13:08:45 -08:00
Basil Crow d20533ef60 Remove duplicate @param tag 2020-12-19 12:19:22 -08:00
Basil Crow e83bde4ca2 Replace ThreadLocal#initialValue with ThreadLocal#withInitial 2020-12-19 12:17:39 -08:00
Basil Crow 406cefcd73 Replace anonymous types with method references 2020-12-19 12:17:39 -08:00
Basil Crow ee24685ca3 Replace explicit type with diamond operator 2020-12-19 12:17:35 -08:00
Oleg Nenashev 260c988d9d Merge pull request #5123 from oleg-nenashev/queue-cleanup
Remove support for queue.txt format (replaced by XML in 2009)
2020-12-19 20:55:38 +01:00
Jesse Glick d7c79eecb1 Removed admin monitor related to ZFS (#5047)
* Removed Solaris support

* Restore Solaris-specific functionality other than libzfs
2020-12-19 20:52:37 +01:00
Oleg Nenashev 152682c157 Merge pull request #5109 from basil/improvements
Code cleanup
2020-12-19 20:51:40 +01:00
Oleg NenashevandRamon Leon 9f50735a8b [JENKINS-64445] - Fix null safety for plugin categories (#5121)
* [JENKINS-64445] - Fix null safety for plugin categories

* Update core/src/main/java/hudson/model/UpdateSite.java

Co-authored-by: Ramon Leon <manuelramonleonjimenez@gmail.com>

* Update core/src/main/java/hudson/model/UpdateSite.java

Co-authored-by: Ramon Leon <manuelramonleonjimenez@gmail.com>
2020-12-19 20:50:14 +01:00
Oleg Nenashev a53d1ccf0b Remove support for queue.txt format (replaced by XML in 2009) 2020-12-15 22:07:20 +01:00
James NordandJesse Glick f7884d3513 [JENKINS-64390] make FieldUtils behave as it used to (#5105)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2020-12-13 20:35:21 +00:00
Esther Álvarez Feijoo bdb5dce566 JENKINS-64403 Declare the page variable "divBasedFormLayout" globally, not only inside forms (#5075) 2020-12-13 12:58:53 +00:00
Basil Crow 39c22138d7 Remove redundant type arguments 2020-12-11 21:34:22 -08:00