Commit Graph
32590 Commits
Author SHA1 Message Date
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
Casey Duquette 4bfcd356ad delete 2021-01-05 15:45:32 -08:00
Jenkins Release Bot 03c8d8628e [maven-release-plugin] prepare for next development iteration 2021-01-05 12:21:22 +00:00
Jenkins Release Bot 3d831e026f [maven-release-plugin] prepare release jenkins-2.274 jenkins-2.274 2021-01-05 12:21:01 +00:00
Casey Duquette c6a6fabcf8 263 -> master conflicts 2021-01-04 23:05:49 -08:00
Oleg Nenashev 663e8f5713 Merge pull request #5145 from benebsiny/JENKINS-64439
[JENKINS-64439] "positive-number" field validator accepts non valid java numbers
2021-01-05 07:54:14 +01: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
Oleg Nenashev d6d098eb96 Merge pull request #5147 from StefanSpieker/minor_spotbugs
Minor spotbugs issues
2021-01-05 07:49:01 +01:00
Casey Duquette 82b342e01c Add test that jnlp launch contains the alt url 2021-01-04 22:23:27 -08:00
Casey Duquette 2853a78351 Add configurable jnlp root 2021-01-04 22:23:24 -08:00
dependabot[bot] 0c6f33b5fb Bump actions/upload-artifact from v2.2.1 to v2.2.2 (#5151) 2021-01-05 02:45:40 +00:00
Tim Jacomb 0d1b4ecc35 Ignore jakarta.mail upgrades with dependabot (#5150) 2021-01-04 22:09:16 +00:00
Tim Jacomb fc84ec9edd Update parent pom to 1.62 (#5149) 2021-01-04 20:50:42 +00: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 5fb8f1278d removed superflous import 2020-12-31 16:08:31 +01:00
Stefan Spieker 63c0ae46db fixed SpotBugs DMI_RANDOM_USED_ONLY_ONCE 2020-12-31 16:05:26 +01:00
Stefan Spieker 71e689c698 fixed SpotBugs JUA_DONT_ASSERT_INSTANCEOF_IN_TESTS 2020-12-31 16:01:19 +01:00
Stefan Spieker 1e0488f19c fixed SpotBugs VA_FORMAT_STRING_USES_NEWLINE 2020-12-31 15:49:03 +01:00
Stefan Spieker e75345a85e replaced deprecated IOUtils.LINE_SEPARATOR with System.lineSeparator() 2020-12-31 15:40:38 +01:00
benebsiny d269f26209 [JENKINS-64439] "positive-number" field validator accepts non valid java numbers
Prevent user to input 'e' or 'E'.
Except 'positive-number', I also add the restriction to 'non-negative-number' and 'number'
2020-12-30 23:14:26 +08:00
dependabot[bot] 884e4ddefe Bump jnr-posix from 3.0.45 to 3.1.4 (#5129)
Bumps [jnr-posix](https://github.com/jnr/jnr-posix) from 3.0.45 to 3.1.4.
- [Release notes](https://github.com/jnr/jnr-posix/releases)
- [Commits](https://github.com/jnr/jnr-posix/compare/jnr-posix-3.0.45...jnr-posix-3.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 16:04:06 +00:00
dependabot[bot] 840c0523e5 Bump jna from 5.3.1 to 5.6.0 (#5125)
Bumps [jna](https://github.com/java-native-access/jna) from 5.3.1 to 5.6.0.
- [Release notes](https://github.com/java-native-access/jna/releases)
- [Changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md)
- [Commits](https://github.com/java-native-access/jna/compare/5.3.1...5.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-29 16:03:56 +00:00
Jenkins Release Bot 76566a3d47 [maven-release-plugin] prepare for next development iteration 2020-12-29 12:23:46 +00:00
Jenkins Release Bot dc033895c8 [maven-release-plugin] prepare release jenkins-2.273 jenkins-2.273 2020-12-29 12:23:22 +00:00
Mark Waite ac6c76f38a Merge pull request #5141 from gnikonorov/fix_bad_link_contributing_md
Fix broken 'download Maven here' link
2020-12-28 08:50:38 -07:00
dependabot[bot] 965d0fdc32 Bump release-drafter/release-drafter from v5.12.1 to v5.13.0 (#5142) 2020-12-28 13:52:43 +00:00
Gleb Nikonorov 76b62c6017 remove unreferenced target 2020-12-27 19:17:06 -05: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
Oleg Nenashev c95f503f5d Merge pull request #5132 from daniel-beck/JENKINS-64483
[JENKINS-64483] Hide collapse link if it isn't possible
2020-12-27 17:55:31 +01:00
Tim JacombandJesse Glick f26ebca6bf Update stapler to 1.262 (#5111)
* Stapler with no illegal access warnings

* Use incremental

* Update bom/pom.xml

Co-authored-by: Jesse Glick <jglick@cloudbees.com>

* Update bom/pom.xml

* Update bom/pom.xml

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2020-12-27 17:50:21 +01:00
Gleb Nikonorov 1bf4714427 Fix broken 'download Maven here' link 2020-12-27 11:36:55 -05:00
Félix Queiruga ebc6b5f0e0 [JENKINS-64504] stuck plugin manager buttons (#5137)
- Uses the window.requestAnimationFrame to throttle callback calls through the raf polyfill
2020-12-23 17:02:20 +00:00
Tim Jacomb 2d2685d056 Update frontend-maven-plugin from 1.6 to 1.11.0 (#5135) 2020-12-22 23:06:01 +00:00
Jenkins Release Bot 09b89ccef6 [maven-release-plugin] prepare for next development iteration 2020-12-22 12:38:13 +00:00
Jenkins Release Bot 4f2d68e2e1 [maven-release-plugin] prepare release jenkins-2.272 jenkins-2.272 2020-12-22 12:37:48 +00:00
Oleg Nenashev 223f41b371 Merge pull request #5133 from daniel-beck/empty-tooltip
Do not show an empty tooltip on svg icons
2020-12-21 23:38:20 +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
dependabot[bot]andRaihaan Shouhell 7a5d49594c Bump tyrus-standalone-client-jdk from 1.12 to 2.0.0 (#5128)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
2020-12-20 13:37:47 +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 7876e3ca85 Use JUnit 5 assertions from JUnit 5 test 2020-12-19 13:05:01 -08:00
Basil Crow 1858b72014 Access static method via class reference rather than instance reference 2020-12-19 13:01:10 -08:00
Basil Crow 2d11c08191 Remove break statements from infinite loops 2020-12-19 12:57:42 -08:00