Commit Graph
32590 Commits
Author SHA1 Message Date
Marat Radchenko 2a92f21dca Fix ProcessTreeKillerTest#doNotKillProcessWithCookie to work on Windows 2019-09-27 17:44:35 +03:00
Jesse Glick dd047e5d31 Better logging for Computer.getLogDir failures. (#4226) 2019-09-27 12:47:25 +02:00
StefanSpieker 36ac586fc0 removed redundant string.format calls and merged array creation with addAll() calls (#4214) 2019-09-26 22:40:34 +02:00
Tim Jacomb 83739816ce Remove sites.jelly (#4217) 2019-09-26 22:38:26 +02:00
Daniel Beck 5575af035d Update commons-compress to 1.19 (#4221) 2019-09-26 22:37:23 +02:00
Marat Radchenko 3220dabd11 [JENKINS-31209] Stop limiting build description in build history to 100 symbols (#4209)
This limit:
1. Isn't justified by anything
2. Cannot be configured by users
3. Doesn't properly interact with nontrivial HTML markup. For example, it sums text in <option> elements
   even though they do not actually take up more visual space on page and instead only longest <option> matters
2019-09-26 22:36:25 +02:00
Oliver Gondža a07fb4f878 Merge pull request #4218 from daniel-beck/unignore-test
Unignore tests that aren't failing on stable-2.190
2019-09-26 19:06:00 +02:00
Mike Ajala 3c877a40bc JENKINS-59513 - Fixed defunct hyperlink in PULL_REQUEST_TEMPLATE.md (#4222)
* Update PULL_REQUEST_TEMPLATE.md

Removed a defunct hyperlink and placed an intuitive directive in its place.

* Updated PULL_REQUEST_TEMPLATE.md to include comment

* Updated PULL_REQUEST_TEMPLATE.md to include lts backporting
2019-09-26 17:02:07 +02:00
Oleg Nenashev b8e32de403 Merge pull request #4213 from StefanSpieker/cli_powermock_removal
removed powermock dependency because it was not used in cli
2019-09-25 23:17:08 +02:00
Mike Ajala 3a0e82e435 JENKINS-59505 - Update pluginSetupWizard.properties (#4219)
Minor typo fix on line 94
2019-09-25 23:10:21 +02:00
Kohsuke Kawaguchi 0f79660d94 Merge remote-tracking branch 'origin/stable-2.190' into stable-2.190 2019-09-25 07:12:16 -07:00
Stephan Reiter 2db553aa14 Reduce default SoftKillWaitSeconds from 2min to 5s 2019-09-25 14:07:59 +02:00
Oliver Gondža dd600a8ee0 Tweak essentials 2019-09-24 08:54:39 +02:00
Kohsuke Kawaguchi 5bf4247db5 [maven-release-plugin] prepare for next development iteration 2019-09-23 16:19:15 -07:00
Kohsuke Kawaguchi 88f0132483 [maven-release-plugin] prepare release jenkins-2.197 jenkins-2.197 2019-09-23 16:19:10 -07:00
Kohsuke Kawaguchi 0fa45e65f1 [maven-release-plugin] prepare for next development iteration 2019-09-23 11:41:45 -07:00
Kohsuke Kawaguchi d78e9f1a3e [maven-release-plugin] prepare release jenkins-2.176.4 jenkins-2.176.4 2019-09-23 11:41:40 -07:00
Kohsuke Kawaguchi bd4ec617c2 [maven-release-plugin] prepare for next development iteration 2019-09-23 09:31:12 -07:00
Kohsuke Kawaguchi bd6946956e [maven-release-plugin] prepare release jenkins-2.190.1 jenkins-2.190.1 2019-09-23 09:30:59 -07:00
Daniel Beck 5e6d194ceb Unignore tests that aren't failing on stable-2.190 2019-09-23 18:11:02 +02:00
Daniel Beck 35a1cb0a3e Merge branch 'master' into security-master 2019-09-23 15:33:40 +02:00
Daniel Beck 0942423324 Merge commit '90fa1766741551fe40361d3ec65d24dac845cf21' of https://github.com/jenkinsci/jenkins 2019-09-23 15:02:41 +02:00
Kohsuke Kawaguchi 90fa176674 [maven-release-plugin] prepare for next development iteration 2019-09-22 16:29:10 -07:00
Kohsuke Kawaguchi b48c34ddaa [maven-release-plugin] prepare release jenkins-2.196 jenkins-2.196 2019-09-22 16:28:55 -07:00
Stefan Spieker c0d3492fd7 removed powermock dependency because it was not used in cli 2019-09-21 22:41:17 +02:00
Oleg Nenashev 9b12e03cb5 Merge pull request #4210 from StefanSpieker/unused_imports
Remove unused imports
2019-09-21 02:58:39 +02:00
Oleg Nenashev c1dacc10e2 Merge pull request #4205 from slonopotamus/disable-artifact-manager-gzip
[JENKINS-26008] Add an option to disable gzip compression for StandardArtifactManager
2019-09-21 02:56:44 +02:00
jesse-houghton d763b4cb11 Added missing null check and associated test (#4204) 2019-09-20 09:36:18 +02:00
StefanSpieker f5f043057c suppress DM_EXIT on methods where EXIT is intended (#4202) 2019-09-20 09:35:49 +02:00
Anders Hammar 5c10c6c055 Improved handling when TaskListener is null (#4201) 2019-09-20 09:35:17 +02:00
StefanSpieker 7aa09f4674 [JENKINS-36720] - Spotbugs dodgy code (#4200)
* SA_LOCAL_DOUBLE_ASSIGNMENT: Fix double assignment

* BC_VACUOUS_INSTANCEOF: fixed Spotbugs issue

* DLS_DEAD_LOCAL_STORE: Removed unused assignments
2019-09-20 09:34:51 +02:00
Stefan Spieker 1a847440db removed unused imports 2019-09-19 21:57:59 +02:00
Marat Radchenko d0703e93e3 [JENKINS-26008] Add test for artifact archiving without GZIP compression 2019-09-19 13:25:37 +03:00
Marat Radchenko 91b0ed3e5f [JENKINS-26008] Add an option to disable gzip compression for StandardArtifactManager
1. There are cases where saving CPU is more important than network bandwidth between Jenkins master and slaves
2. According to benchmarks[1], gzip compression is unable to saturate 1Gbps network even on high-end desktop CPUs,
so can easily become a bottleneck.

[1]: https://github.com/lz4/lz4#benchmarks
2019-09-19 13:25:36 +03:00
Martin Schröder 89e25fce5e [JENKINS-58779] LogRotator stops, if build was deleted externally (#4138)
* [JENKINS-58779] LogRotator stops cleaning, if build was deleted externally

The deletion of a build/run in Jenkins is handled by the delete() method.

It throws an exception, when the build directory on disk has already been
removed and stops deleting the build.

Unfortunately, the hudson.tasks.LogRotator.perform(Job<?, ?>) method does
not check for this exception and will STOP cleaning up, once even just one
build throws that exception.

This behaviour is fixed in the following ways in this change:

1.) The Run.delete() method must still unlink the job, even if the build
    directory has been removed externally.

2.) The log output of Run.delete() must be made less verbose (it prints the
    ENTIRE folder content by default, into the job that is doing the cleanup)

3.) The LogRotator.perform() method must handle the exceptions being thrown
    by delete() gracefully.

Signed-off-by: Martin H Schroeder <martin.h.schroeder@intel.com>

* Small change to copyright header (removed blank line)

n/t

Signed-off-by: Martin H Schroeder <martin.h.schroeder@intel.com>

* Incorporated changes proposed by Oleg Nenashev

 - Usage of Util.fileToPath
 - Addition of @since headers to public API methods

Signed-off-by: Martin H Schroeder <martin.h.schroeder@intel.com>

* Added fixes for comments raised by Oleg Nenashev and Jeff Thompson

This adds a collective IOException raised for all sub-exceptions
encountered during the cleanup process.

Signed-off-by: Martin H Schroeder <martin.h.schroeder@intel.com>
2019-09-19 10:08:43 +02:00
Oleg Nenashev 0d63e6a8fa Merge pull request #4198 from basil/JENKINS-59231
[JENKINS-59393] - Fix malformed XML in Atom and RSS 2.0 feeds and [JENKINS-59231] - Improve test coverage on the RSS feature
2019-09-19 10:08:00 +02:00
Oleg Nenashev 36b46f1f8c Merge pull request #4199 from StefanSpieker/replace_binarySearch
Replace internal search implementation in SortedIntList with java.util.Arrays.binarySearch
2019-09-18 17:34:53 +02:00
Oleg Nenashev 2bd71b61fa Merge pull request #4203 from Dohbedoh/JENKINS-59383
[JENKINS-59383] Fix the DiskMonitorSpaceDescriptor toString() message when the monitor alert is not triggered
2019-09-17 10:19:14 +02:00
Kohsuke Kawaguchi 97a8dcc1d8 [maven-release-plugin] prepare for next development iteration 2019-09-16 01:57:27 -07:00
Kohsuke Kawaguchi a04f0b9246 [maven-release-plugin] prepare release jenkins-2.195 jenkins-2.195 2019-09-16 01:57:19 -07:00
Allan Burdajewicz 9e38a020cd [JENKINS-59383] Add a test 2019-09-16 12:02:49 +10:00
Allan Burdajewicz 27098a2870 [JENKINS-59383] Fix Disk Space Monitor toString() 2019-09-16 11:16:47 +10:00
Stefan Spieker 352c322074 replaced implementation with java.util.Arrays.binarySearch 2019-09-14 17:05:34 +02:00
Oleg Nenashev ac97a7debc Merge pull request #4150 from jtnord/bom
[JENKINS-48578] BOM for Jenkins dependencies consumable by plugins
2019-09-13 23:44:51 +02:00
Basil Crow bee3b7c7d8 [JENKINS-59231] Improve test coverage on the RSS feature 2019-09-13 13:11:14 -07:00
Bogdan Sukonnov e6aecfed2c [JENKINS-59017] disable ForceSetupWizardFilter if setup complete (#4170) 2019-09-13 09:47:11 +02:00
StefanSpieker 69a524ab0b Fixed deprecated warnings without changing behaviour (#4177)
* fixed deprecated warnings without changing behaviour

* use Charset.defaultCharset() instead of null
2019-09-13 09:45:34 +02:00
Matt Sicker 8853687cde Recommend better jelly tag (#4191)
An empty f:entry is basically the same thing as f:block but with extra
steps.
2019-09-12 17:54:01 +02:00
Daniel Beck d18e8bd5f5 Merge branch 'security-stable-2.190' into security-master 2019-09-12 14:09:16 +02:00
Daniel Beck e22d67eb5f Merge branch 'master' into security-master 2019-09-12 14:09:13 +02:00