Commit Graph
32590 Commits
Author SHA1 Message Date
Francisco FernándezandOleg Nenashev 3ade716f41 [JENKINS-60577] - Prevent the RSS feed in Computer page from returning an error 404 (#4411)
* [JENKINS-60577] Rss Latest Builds for Computer

* [JENKINS-60577] Missing javadoc

* [JENKINS-60577] Add builds from the computer

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

* Apply suggestions from code review

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

* [JENKINS-60577] Document limitation to AbstractProject

* [JENKINS-60577] Restrict the RSS methods in Computer

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-01-15 07:54:52 +01:00
Jeff Thompson 2b6aed968f Need a new Stapler release or incremental for these tests.
They really belong in Stapler anyway, but they're easier here.
2020-01-14 14:48:17 -07:00
Jeff Thompson cfe722bce2 Rename class for better clarity. 2020-01-14 14:09:24 -07:00
Jeff Thompson fa278405eb Adjust comment. 2020-01-14 14:04:51 -07:00
Jeff Thompson 8f3e14a025 Shift to using HttpResponse.SHOW_STACK_TRACE. 2020-01-14 14:03:17 -07:00
Jeff Thompson 4a7684e568 Add test for basic exception.
And clean up a few tests.
2020-01-14 13:27:10 -07:00
Wadeck Follonier 8263b0ae48 Merge branch 'security-stable-2.204' into security-master 2020-01-14 14:56:56 +01:00
Wadeck Follonier a293a77a77 Merge branch 'security-stable-2.190' into security-stable-2.204 2020-01-14 14:51:25 +01:00
Wadeck Follonier b11f08686e Merge branch 'security-stable-2.176' into security-stable-2.190 2020-01-14 14:31:54 +01:00
Wadeck Follonier bb3d46d018 Merge branch 'security-stable-2.164' into security-stable-2.176 2020-01-14 13:58:13 +01:00
Wadeck Follonier 0ba3650818 [SECURITY-1659] 2020-01-14 13:04:05 +01:00
Wadeck Follonier 77f36f37f5 [SECURITY-1695][SECURITY-1697] 2020-01-14 12:21:45 +01:00
Jeff Thompson 5054bc6e12 [SECURITY-1682] 2020-01-14 12:16:59 +01:00
Jeff Thompson 6f35dbb939 [SECURITY-1660] 2020-01-14 12:15:51 +01:00
Daniel Beck 7d44836fad [SECURITY-1650] 2020-01-14 12:08:50 +01:00
Wadeck Follonier 639ade55ca [SECURITY-1704] 2020-01-14 12:08:10 +01:00
Wadeck Follonier cd28a6d934 [SECURITY-1641] 2020-01-14 12:06:40 +01:00
Daniel Beck c0d3c041b4 [SECURITY-1291] 2020-01-14 11:41:23 +01:00
StefanSpiekerandOleg Nenashev ec13ac9b67 Spotbugs issues (#4416)
* Spotbugs: Fixed comparing strings with equals instead of ==

* Spotbugs: Do not return null in @Nonnull marked method, instead return empty string.

* Added Suppress for Spotbugs

* Apply suggestions from code review

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

* fixed javadoc

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-01-14 11:16:48 +01:00
Oleg Nenashev 7be7ce0332 Merge pull request #4422 from jglick/LogRotator-JENKINS-60716
[JENKINS-60716] Retain causes of a LogRotator failure for diagnosis
2020-01-14 11:16:27 +01:00
Wadeck Follonier 8991d8a648 Merge (-s ours) stable-2.204 into master 2020-01-14 11:05:19 +01:00
Wadeck Follonier 7f91adb3d2 Merge (-s ours) stable-2.190 into stable-2.204 2020-01-14 11:05:16 +01:00
Wadeck Follonier 316b84d42f Merge branch 'stable-2.190' 2020-01-14 10:51:50 +01:00
Wadeck Follonier a769168217 Merge branch 'stable-2.176' into stable-2.190 2020-01-14 10:49:39 +01:00
Jeff Thompson 0e3be6653a Remove some unrelated tests. 2020-01-13 16:43:25 -07:00
Jeff Thompson cf2944607f Convert to not show the trace to admins.
Show it to everybody if the system property is set.
2020-01-13 16:39:46 -07:00
Jeff Thompson 4a01311175 First pass at adding tests. 2020-01-13 16:28:29 -07:00
Matt Sicker 47f9a94794 [JENKINS-59107] User is no longer logged out when authenticating another user
This fixes a regression introduced in SECURITY-901 where performing an authentication check on another user while logged in caused the user to get logged out.

Signed-off-by: Matt Sicker <boards@gmail.com>
(cherry picked from commit d5b716625c)
2020-01-13 19:45:54 +01:00
James Nord 5bc53da058 [JENKINS-60351] - Make it possible to disable multiple deletion attempts by setting hudson.Util.maxFileDeletionRetries to zero (#4382)
* [JENKINS-60351] It should be possible to disable a retry of the
PathRemover

This does not address the issues that the comments and code in
hudons.Util are inconsistent if they are for retries or total number of
attempts (they are currently total number of attempts)

* [JENKINS-60351] Make the code conform to the documentation

maxRetries should control the number of retries not the number of
attempts.

* rename field from DELETION_MAX to DELETION_RETRIES

(cherry picked from commit 7228af5bb1)
2020-01-13 19:42:45 +01:00
Baptiste Mathus cae20e7613 Merge pull request #4329 from lgoenner/executor
[JENKINS-57304] - Add call to oneOffExecutors.remove in Computer.removeExecutor

(cherry picked from commit cb424f3ca0)
2020-01-13 19:36:22 +01:00
Oleg Nenashev e29e3635c0 Merge pull request #4357 from bulanovk/JENKINS-60167
[JENKINS-60167] - Fix AtomicFileWriter performance issue on CephFS in case of Empty File creation

(cherry picked from commit cce9587639)
2020-01-13 19:34:13 +01:00
Oleg Nenashev 03214978a3 Merge pull request #4348 from pilou-/handle_empty_views
[JENKINS-60092] getPrimaryView: return null if no view is defined

(cherry picked from commit 8bc435f32e)
2020-01-13 19:08:52 +01:00
Félix Queiruga 965dbafd63 Adds browserslist config (defaults + ie11) 2020-01-13 16:49:18 +01:00
Félix Queiruga 296d38b350 Moved the font copying to webpack
- It was previously done using cli, which could fail on windows
- Added plugin to clean up webpack build folder
- Cleaup on the package.json
2020-01-13 13:28:09 +01:00
Oleg Nenashev e1046ef92f Merge pull request #4429 from jenkinsci/release-drafter-fix
Release Drafter Fix: Properly inherit the parent config
2020-01-13 12:45:48 +01:00
Oleg Nenashev 67035e96b8 Release Drafter Fix: Properly inherit the parent config 2020-01-13 10:14:07 +01:00
Kohsuke Kawaguchi 3cf031965c [maven-release-plugin] prepare for next development iteration 2020-01-12 10:54:01 -08:00
Kohsuke Kawaguchi 9a1740192a [maven-release-plugin] prepare release jenkins-2.214 jenkins-2.214 2020-01-12 10:53:56 -08:00
Oleg Nenashev a397fec79d Merge pull request #4427 from oleg-nenashev/master
[JENKINS-60740] - Rely on GitHub Actions to generate the release draft YAMLs
2020-01-11 23:16:28 +01:00
Oleg Nenashev 456717aff6 [JENKINS-60740] - Edit the release drafter text 2020-01-11 15:40:10 +01:00
Oleg Nenashev b0c9bf1e2e [JENKINS-60740] - Publish changelog YAMLs to artifacts instead of the release metadata 2020-01-11 15:26:09 +01:00
Oleg Nenashev 17b6ac6a3b [JENKINS-60740] - Update Release Drafter to the recent version 2020-01-11 15:21:40 +01:00
Oleg Nenashev c4255001cb [JENKINS-60740] - List all contributors in the bottom of the release draft 2020-01-11 14:47:25 +01:00
Oleg Nenashev ea6923eb30 [JENKINS-60740] - Switch Release Drafter to a standard Markdown layout 2020-01-11 14:45:00 +01:00
Oleg Nenashev 48818ac378 [JENKINS-60740] - Fix the action ID 2020-01-11 14:31:35 +01:00
Oleg Nenashev cfda90b998 [JENKINS-60740] - Use actions/upload-release-asset to upload changelog YAMLs to Release Drafter 2020-01-11 14:29:58 +01:00
Oleg Nenashev 50b8c1df24 Merge pull request #4426 from jenkinsci/revert-4424-changelog-generator-yaml
Revert "Upload draft Changelog YAMLs to GitHub Release assets"
2020-01-11 14:15:42 +01:00
Oleg Nenashev 344b54ead8 Revert "Upload draft Changelog YAMLs to GitHub Release assets" 2020-01-11 14:07:29 +01:00
Oleg Nenashev 84a4c671c8 Merge pull request #4424 from jenkinsci/changelog-generator-yaml
Upload draft Changelog YAMLs to GitHub Release assets
untagged-e3a154d27f5bd99802eb
2020-01-11 13:59:10 +01:00
Oleg NenashevandMark Waite faf13e19b9 Add the maintainer checklist to the pull request template (#4423)
* Add the maintainer checklist to the pull request template

* Add checklist items for LTS

* Add "Proposed changelog entries" to the pull request template

* Pull request template: `Internal: ` prefix is now added automatically by the Core Changelog generator

https://github.com/jenkinsci/jenkins-core-changelog-generator/pull/6

* Apply suggestions from review by @MarkEWaite

Co-Authored-By: Mark Waite <mark.earl.waite@gmail.com>

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2020-01-11 13:58:08 +01:00