Commit Graph
29310 Commits
Author SHA1 Message Date
Mark Waite 7cacf276e6 Merge branch 'master' into jtnord-patch-1 2020-02-13 15:27:35 -07:00
Mark Waite 604e6943dc Merge pull request #4494 from MarkEWaite/do-not-use-azure-cache
Remove references to Azure maven cache
2020-02-13 15:02:21 -07:00
Mark Waite 7026b4d042 Do not use Azure maven cache - unavailable
The Azure maven cache was removed at the end of January 2020.  When the
DNS entry was also removed, builds began failing. Fix the builds.
2020-02-13 12:08:13 -07:00
James Nord d67c1b0247 allert-error does not exist, update javadoc to allert-danger 2020-02-13 17:03:45 +00:00
Tim Jacomb 2fcd831866 Merge pull request #3989 from olivergondza/afw-suppressed
Changed exception presented when AtomicFileWriter fails to write to file
2020-02-13 13:18:17 +00:00
Daniel Beck 7777d8f28b Do not show disabled permissions in permission errors (#4482) 2020-02-13 09:40:58 +01:00
Raihaan ShouhellandEvaristo Gutiérrez 9c4dac702e Add preauth filtering overload of getAllItems(), getItems() and allItems() (#4469)
* Add preauth filtering overload of getAllItems()

Signed-off-by: Raihaan Shouhell <raihaan.shouhell@autodesk.com>

* Add allItems filtering

* Apply suggestions from code review

Co-Authored-By: Evaristo Gutiérrez <egutierrez@cloudbees.com>

* Use streams

* Add stream functions

Signed-off-by: Raihaan Shouhell <raihaan.shouhell@autodesk.com>

* Missed simplification

Co-authored-by: Evaristo Gutiérrez <egutierrez@cloudbees.com>
2020-02-13 09:40:35 +01:00
Mark Waite a8f5167dae Merge pull request #4484 from contextshuffling/hudson.util.ArgumentListBuilderTest#assertKeyValuePairsWithMask
[JENKINS-61024] Use LinkedHashMap for deterministic iterations
2020-02-10 20:57:02 -07:00
Mark Waite 91e01e0bec Merge pull request #4485 from res0nance/increase-timeout
Increase timeout on test to stop flaking
2020-02-10 04:49:07 -07:00
Oliver Gondža 8b60510cb4 Clarify what exception gets propagated 2020-02-10 12:43:21 +01:00
Raihaan Shouhell 99767d6882 Increase timeout on test to stop flaking 2020-02-10 11:39:43 +08:00
Kohsuke Kawaguchi e489dc20e5 [maven-release-plugin] prepare for next development iteration 2020-02-09 13:18:36 -08:00
Kohsuke Kawaguchi e97efd05df [maven-release-plugin] prepare release jenkins-2.220 jenkins-2.220 2020-02-09 13:18:30 -08:00
contextshuffling 23f311c8c8 Use LinkedHashMap for deterministic iterations 2020-02-09 14:55:36 -06:00
Jeff Thompson 9912692b5b [JENKINS-60926] - Fix agent installation as a service on Windows. (regression in 2.217) (#4476)
* Upgrade to 4.2 version of Remoting.

* Upgrade to slave-installer 1.7.
2020-02-07 19:50:41 -07:00
Josh Soref 4e53fe17e4 Deprecation: Channel(...) (#4449) 2020-02-07 08:41:28 -05:00
Wadeck Follonier 2f51583c8b [JENKINS-60867] Prevent creation of duplicated SetupWizard singleton instances on Jenkins startup (#4456)
* [JENKINS-60867] Blank page after SetupWizard: root cause

* Correct a test that was a bit too greedy
2020-02-07 08:40:08 -05:00
Oleg Nenashev 0ef9a4d1ad Release Drafter: Do not use regression-fix label for the changelog, use the global template (#4481)
* Release Drafter: Do not use `regression-fix` label for the changelog, clarify the category headers

* Release Drafter: use categories from the org-wide settings
2020-02-07 08:04:01 -05:00
Oleg Nenashev ce0923ccc8 Merge pull request #4474 from il--ya/patch-1
Enforce singleton pattern in CaseInsensitiveComparator
2020-02-07 03:56:03 -05:00
Zhao Xiaojie f51f5577cc Export whether plugin update is compatible (#4385)
* Export if plugin update is compatible

* Remove the erorr usage of Exported annoation

* Remove unclear export annotation
2020-02-07 03:54:34 -05:00
f10d9f95fc [JENKINS-60913] Remove network discovery services (#4460)
* Remove multicast discovery services.

* Refine clean up with DNSMultiCast.

Doesn't need to be referenced in the other pom any more.
We need to keep the class and the property around for a while.
Jenkins Test Harness sets the property. Until we can get all
versions aligned so it isn't needed, it's best to keep the property
doing nothing.

* Deprecate remaining class fragment.

* Remove unneeded dependency.

* Improve code comments for external usages.

Co-Authored-By: Jesse Glick <jglick@cloudbees.com>

* Remove multicast discovery services.

* Refine clean up with DNSMultiCast.

Doesn't need to be referenced in the other pom any more.
We need to keep the class and the property around for a while.
Jenkins Test Harness sets the property. Until we can get all
versions aligned so it isn't needed, it's best to keep the property
doing nothing.

* Deprecate remaining class fragment.

* Remove unneeded dependency.

* Add log warning messages.

* Don't need to implement the interface anymore.

* Fix initializer.

Change capitalization for logger.

* Add URLs to log messages.

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

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-02-07 03:53:54 -05:00
Joseph Petersen 9db48dd53d Add configuration-as-code as suggested plugin (#4410)
* add configuration-as-code as suggested
2020-02-06 19:04:04 -05:00
Oleg Nenashev 820b64a6a6 Merge pull request #4473 from daniel-beck/JENKINS-21837
[JENKINS-21837] Do not record user creating an agent
2020-02-06 07:44:29 -05:00
Oleg Nenashev 57c51a3fb4 Merge pull request #4461 from pjdarton/jenkins-54496
[JENKINS-54496] - Don't log node-monitoring errors from deleted nodes
2020-02-06 07:41:01 -05:00
efe2b876a9 [JENKINS-51856] Add new milestones (#4450)
* [JENKINS-51856] Add new milestones

* Apply suggestions from code review

* [JENKINS-51856] Improve description of JOB_CONFIG_ADAPTED

* [JENKINS-51856] Add test for milestones

* [JENKINS-51856] Fix test error

* Apply suggestions from code review

Co-Authored-By: Oleg Nenashev <o.v.nenashev@gmail.com>

* Update core/src/main/java/hudson/init/impl/GroovyInitScript.java

Co-Authored-By: Tim Jacomb <t.jacomb@kainos.com>

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Co-authored-by: Tim Jacomb <t.jacomb@kainos.com>
2020-02-06 07:39:46 -05:00
Raihaan Shouhell 75e3565018 [JENKINS-60721] Annotate parameter classes (#4439)
* Annotate and fix Parameter functions

Signed-off-by: Raihaan Shouhell <raihaan.shouhell@autodesk.com>

* Add checkfornull annotation

* Add test for issue

Signed-off-by: Raihaan Shouhell <raihaan.shouhell@autodesk.com>

* Fix test

* Previous ctor was private d'oh

* Fix annotation

* Prevent parameter names from being null

* Add comment about check
2020-02-06 07:38:53 -05:00
Jeff ThompsonandWadeck Follonier b0eee6d655 [JENKINS-60848] Improve RSS title wording + Add more RSS tests (#4442)
* Add more tests.

Also a little cleanup of RSS.
Fix the broken "All all ..." title and description.
Remove a long unused bit for never implemented trackback.

* Increase date time checks.

* Copy and paste error.

Co-Authored-By: Wadeck Follonier <Wadeck@users.noreply.github.com>

* Assert not empty.

Co-Authored-By: Wadeck Follonier <Wadeck@users.noreply.github.com>

* Add a bunch more tests and clarify title.

Add a number of more tests. Test the various places that RSS is used.
Improve title wording to something consistent and somewhat sensible.

Co-authored-by: Wadeck Follonier <Wadeck@users.noreply.github.com>
2020-02-06 07:38:31 -05:00
Oleg Nenashev 53ee8fa75e Merge pull request #4453 from mguillem/feature/add-job-duration-tooltip
add job duration as tooltip to build time
2020-02-06 07:36:57 -05:00
Oleg Nenashev 6c9271f49e Merge pull request #4458 from StefanSpieker/spotbugs_nullable
Spotbugs: Check for null issue
2020-02-06 07:36:32 -05:00
Raihaan Shouhell f16c36bd6d Reduce number of calls to getItems in ListView (#4462)
* Call parent.getItems once

* Restore check in includeItems

* Restore original call to getItems
2020-02-06 04:48:21 -05:00
Oleg Nenashev a0da4a8fd0 Merge pull request #4459 from thomasgl-orange/buffered-streams-in-TarCompression-NONE
[JENKINS-60907] add Buffered{In,Out}putStream to FilePath.TarCompression.NONE
2020-02-06 04:44:02 -05:00
Daniel Beck 9e39d578c2 [JENKINS-21837] Do not record user creating an agent 2020-02-05 19:29:47 +01:00
Wadeck Follonier d7869ec724 Improve log after SECURITY-626 (#4443) 2020-02-05 12:22:00 -05:00
Ilya 1eb4b56db0 Enforce singleton pattern in CaseInsensitiveComparator
Make sure that new instances of CaseInsensitiveComparator are not created when serializing/deserializing.
2020-02-05 16:28:38 +00:00
Josh Soref bf7efb0bc6 [JENKINS-59486] load icons for use while jenkins is restarting (#4445) 2020-02-05 07:27:26 -05:00
Aaron ZurawskiandZbynek Konecny 23d5cf97cf [JENKINS-60884] - Fix NPE in Run API when using getPreviousBuildsOverThreshold (#4471)
* Added a null check to getPreviousBuildsOverThreshold.

* Cleaned up accidental newline.

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

Co-Authored-By: Zbynek Konecny <zbynek1729@gmail.com>

Co-authored-by: Zbynek Konecny <zbynek1729@gmail.com>
2020-02-05 07:09:58 -05:00
Mark Waite 3b4ac78ca6 Merge pull request #4451 from StefanSpieker/test_fix
set locale for test, because test fails on german system
2020-02-04 13:07:02 +01:00
Jesse Glick ce63fb126a Merge pull request #4467 from Wadeck/disable-udp-tests
Disable failing test in UDP broadcast
2020-02-03 14:58:39 -05:00
Wadeck Follonier d6db99df8d Disable failing test in UDP broadcast 2020-02-02 09:59:24 +01:00
Peter Darton ee3d936dc7 FIX JENKINS-54496: Don't log monitoring errors from deleted nodes 2020-01-30 13:35:18 +00:00
Stefan Spieker b45d861db2 minor cleanup 2020-01-30 12:10:30 +01:00
Thomas de Grenier de Latour 4be9f741c1 Buffered{In,Out}putStream in FilePath.TarCompression.NONE 2020-01-29 17:38:49 +01:00
Stefan Spieker 403bb2ee44 check for null 2020-01-28 21:40:35 +01:00
Kohsuke Kawaguchi c376ffe0a4 [maven-release-plugin] prepare for next development iteration 2020-01-28 11:03:06 -08:00
Kohsuke Kawaguchi 789b74b00d [maven-release-plugin] prepare release jenkins-2.219 jenkins-2.219 2020-01-28 11:03:02 -08:00
Kohsuke Kawaguchi 569e0acce2 Excluding this test that keeps failing and blocking my release. 2020-01-28 09:48:05 -08:00
Daniel Beck ff48c04fdc Remove obsolete test 2020-01-27 22:29:05 +01:00
Jeff Thompson c365300f99 Merge branch 'master' into security-master 2020-01-27 13:36:19 -07:00
Jeff Thompson 7e938a1c71 Merge commit 'f2861f2b6876631c5a71d196b070576cb240c72b' of git://github.com/jenkinsci/jenkins 2020-01-27 13:28:19 -07:00
Kohsuke Kawaguchi f2861f2b68 [maven-release-plugin] prepare for next development iteration list 2020-01-27 11:25:53 -08:00