Commit Graph
32590 Commits
Author SHA1 Message Date
Oleg Nenashev 2b74d09392 README: Update the plugins number and link the plugins site (#4157) 2019-08-17 13:09:44 +02:00
Oleg Nenashev 7ce920909a Release Drafter: RFE is used as a changelog filter for RFEs (#4158)
Just noticed that I forgot to change the layout
2019-08-17 13:09:13 +02:00
Pavel Janousek afcdb045c1 [JENKINS-54772] Fix reported list of environment variables from agent (#3770)
* [JENKINS-54772] Fix reported list of environment variables from agent

* Feedback incorporated

* Code moved to SlaveComputer class
2019-08-17 02:01:39 +02:00
Oleg Nenashev 374ce3a0d8 Release drafter: Order changelog entries using categories (#4156)
Categories match what we have on https://jenkins.io/changelog/ , except localization fixes which get a new category in the bottom
2019-08-16 18:00:34 +02:00
Matt Sicker eadd4b72e1 [JENKINS-58734] Use SHA-256 for crumbs (#4134)
* [JENKINS-58734] Use SHA-256 for crumbs

Signed-off-by: Matt Sicker <boards@gmail.com>

* Use SHA-256 more consistently

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-08-16 13:37:01 +02:00
Aakash R Kanvinde 35e507ee38 [JENKINS-58157] Fixing 'delete build' button too long (#4121)
* [JENKINS-58157] Fixing 'delete build' button too long

* Update breadcrumbs.css
2019-08-16 13:36:26 +02:00
Jesse Glick 0c2d194f0d doQuietDown() cannot actually throw IOException. (#4151) 2019-08-16 12:02:56 +02:00
Matt Sicker 3d8115624a Clean up formatting (#4143)
Signed-off-by: Matt Sicker <boards@gmail.com>
2019-08-16 10:00:24 +02:00
Wadeck Follonier 8b70c48a5f [JENKINS-58736] Correction of /assets throwing 500 (#4136) 2019-08-16 09:56:42 +02:00
Raihaan Shouhell 9d16af6b2d Move file to right folder (#4116) 2019-08-16 09:56:18 +02:00
Matt Sicker f8f095e466 Replace Charset.forName with StandardCharsets (#4132)
This refactors usage of Charset::forName on common character sets that
now have an equivalent value in StandardCharsets.
2019-08-16 09:55:34 +02:00
Damian Szczepanik fda304cb92 Add Polish translations (#4140) 2019-08-16 09:55:07 +02:00
Daniel Beck 46972f723f Remove build-pipeline-plugin from setup wizard (#4147) 2019-08-16 09:54:31 +02:00
A. Jard 3661cefad4 [JENKINS-58571] Check if name is editable on item before doing rename. (#4122)
* [58571] Check if name is editable on item before doing rename.

* [JENKINS-58571]Form failure when rename item with not editable name.

* [JENKINS-58571] Change to IOException when isNameEditable is false.

* [JENKINS-58571] Validate test harness furure version.

* [JENKINS-58571] Validate test harness 2.55.
2019-08-16 09:53:56 +02:00
Gabriel Belingueres ecdc79c41f [JENKINS-58836] Wrong spanish argentinian translation for 'logout' (#4144)
Modificed logout key.
2019-08-16 09:53:21 +02:00
Oleg Nenashev 3356311377 Disable Windows builds, ATH and Incrementals to mitigate the ongoing INFRA issue (#4153)
* Disable Windows builds, ATH and Incrementals to mitigate the ongoing INFRA issue

See https://groups.google.com/forum/#!topic/jenkinsci-dev/v9d-XosOp2s is resolved

* Restore incrementals publishing
2019-08-15 23:01:17 +02:00
Sean Sullivan 91a0fe7e2c mockito 3.0.0 2019-08-15 15:54:35 -04:00
Kshithij Iyer 1756d586e2 Updating LICENSE section of readme.md (#4141)
* Updating LICNESE section of readme.md

* Changing raw to blob in the LICENSE link.
2019-08-14 15:41:52 +02:00
Daniel Beck e948b6ff96 Merge branch 'security-stable-2.176' into security-master 2019-08-13 16:41:10 +02:00
Daniel Beck f3a2e01277 Merge branch 'master' into security-master 2019-08-13 16:41:07 +02:00
Daniel Beck 9b151f60fd Merge branch 'stable-2.176' 2019-08-13 16:39:43 +02:00
Daniel Beck 6e068d2401 Merge branch 'stable-2.176' into security-stable-2.176 2019-08-13 16:38:11 +02:00
Matt Sicker 8fcce3c850 [JENKINS-58548] Remove extra whitespace from scriptText (#4133)
* [JENKINS-58548] Remove extra whitespace from scriptText

This removes the unnecessary whitespace being output in scriptText
and anywhere else that has non-XML whitespace semantics in its output
when using <l:view>.

Signed-off-by: Matt Sicker <boards@gmail.com>

* Fix test name

Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
(cherry picked from commit dae53088b7)
2019-08-13 15:19:48 +02:00
Matt Sicker 6ae3220257 [JENKINS-58595] Add missing ${h} in rss and atom views (#4148)
* [JENKINS-58595] Add missing ${h} in rss and atom views

Now that l:view was fixed not to output whitespace, these views can be
updated to directly use l:view. Otherwise, they needed to initialize
the ${h} Jelly variable which is done via l:view normally.

This fixes a regression introduced in SECURITY-534.

Signed-off-by: Matt Sicker <boards@gmail.com>

* Fix the fix

Signed-off-by: Matt Sicker <boards@gmail.com>
2019-08-13 14:08:23 +02:00
Daniel Beck 19e3f219d1 Merge branch 'security-stable-2.176' into security-master 2019-08-13 13:38:19 +02:00
Daniel Beck 91fabe2aee Merge branch 'security-stable-2.164' into security-stable-2.176 2019-08-13 13:37:35 +02:00
Daniel Beck 97db3ad8e7 Merge branch 'security-stable-2.150' into security-stable-2.164 2019-08-13 13:36:44 +02:00
Daniel Beck cad06f01ce Merge branch 'security-stable-2.138' into security-stable-2.150 2019-08-13 13:35:09 +02:00
Wadeck FollonierandDaniel Beck ace5965b45 [SECURITY-1491]
Co-Authored-By: Daniel Beck <daniel-beck@users.noreply.github.com>
2019-08-13 13:30:21 +02:00
Wadeck Follonier fb88530f77 [SECURITY-1453] 2019-08-13 12:36:27 +02:00
Daniel Beck d5453e0af7 Merge commit '17d45ff1ae22a961dedb0b914ffd7ecdfadff005' of https://github.com/jenkinsci/jenkins 2019-08-13 12:21:22 +02:00
Daniel Beck c87f52e221 Merge branch 'stable-2.176' 2019-08-13 12:14:03 +02:00
Stefan Spieker 1ea081cdd6 Suppress instead of adding the VersionUID 2019-08-12 15:55:11 +02:00
James Nord 7035dafb3f introduce a BOM for Jenkins dependencies that can be consumed by plugins 2019-08-09 10:24:51 +01:00
Kohsuke Kawaguchi 17d45ff1ae [maven-release-plugin] prepare for next development iteration 2019-08-07 09:30:55 -07:00
Kohsuke Kawaguchi a5db82c025 [maven-release-plugin] prepare release jenkins-2.189 jenkins-2.189 2019-08-07 09:30:50 -07:00
Kohsuke Kawaguchi d259fcaae1 [maven-release-plugin] prepare for next development iteration 2019-08-07 01:41:09 -07:00
Kohsuke Kawaguchi fcc172a6c4 Merge pull request #4142 from jenkinsci/2.188-stuck
Test shouldn't be interactively breaking
2019-08-07 06:47:37 +09:00
Kohsuke Kawaguchi b2616a947a Test shouldn't be interactively breaking
This causes the test to time out. What I don't understand is how this
test got merged in the first place.
2019-08-06 08:44:49 -07:00
Abhyudaya Sharma 974d1dd544 Support JMH benchmarks from Jenkins Test Harness (#4135)
* Support running JMH benchmarks from JTH 2.51

* Fix NPE caused by ExtensionFinderTest
* A test for running a sample benchmark
* Bump up JTH to 2.54
* git ignore the report produced by benchmarks

* Fix BindException in BootFailureTest

* Fix NPE during `tearDown()` in CustomPluginManagerTest

JenkinsRule >= 2.50 does not ignore errors during Jenkins shutdown
2019-08-05 14:07:26 +02:00
Jesse Glick cad09c4bb0 Merge pull request #4137 from jglick/PeepholePermalink-leak-JENKINS-58733
[JENKINS-58733] Avoid a file handle leak in PeepholePermalink
2019-08-04 13:22:23 -04:00
Matt SickerandDaniel Beck dae53088b7 [JENKINS-58548] Remove extra whitespace from scriptText (#4133)
* [JENKINS-58548] Remove extra whitespace from scriptText

This removes the unnecessary whitespace being output in scriptText
and anywhere else that has non-XML whitespace semantics in its output
when using <l:view>.

Signed-off-by: Matt Sicker <boards@gmail.com>

* Fix test name

Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2019-08-02 00:18:16 +02:00
Jesse Glick 5169f14019 Batch up dynamic plugin installations from setup wizard (#4124)
* Batch up dynamic plugin installations from setup wizard.

* Reworked to thread the list of batched-up plugins properly and introduced CompleteBatchJob to force the setup wizard to wait.

* UpdateCenterPluginInstallTest.test_installKnownPlugins failure.

* @amuniz notes that an existing message could now be considered misleading.

* Introduced UpdateCenter.DownloadJob.getDisplayName for better consistency in logging, as suggested by @Vlatombe.

* Reducing log levels of messages from dynamicLoad which are not of great interest, as suggested by @Vlatombe.

* Reducing log level of another message of little interest.

* Adding classic UI for CompleteBatchJob.

* CompleteBatchJob should be used only when dynamicLoad.

* Null defense on UpdateCenterJob.site.
Otherwise can get:
java.lang.NullPointerException
	at hudson.model.UpdateCenter.getConnectionCheckJob(UpdateCenter.java:850)
	at hudson.model.UpdateCenter.addConnectionCheckJob(UpdateCenter.java:817)
	at hudson.model.UpdateCenter.addJob(UpdateCenter.java:804)
	at hudson.model.UpdateSite$Plugin.deploy(UpdateSite.java:1367)
	at hudson.PluginManager.install(PluginManager.java:1537)
	at hudson.PluginManager.install(PluginManager.java:1496)
	at hudson.PluginManager.doInstall(PluginManager.java:1445)
	at …
2019-08-01 19:55:44 +02:00
Daniel Beck 551cbd7849 Update versions of some detached plugins that installed in some cases when upgrading Jenkins or when implied dependencies are not specified for manually managed plugins. (#4125)
* Update bundled plugins

* Add new dependencies for JUnit, fix test with matrix-auth

* Introduce property for matrix-auth version
2019-08-01 19:54:39 +02:00
Jesse Glick e66c207311 [JENKINS-58733] Avoid a file handle leak in PeepholePermalink. 2019-08-01 12:11:08 -04:00
Oliver Gondža ae1052f036 Please rebuild 2019-08-01 15:59:19 +02:00
Jeff Thompson d205a026da [JENKINS-55945] IllegalStateException trying to get user. (#4107)
This change catches the exception and returns false, invalidating the user session. This behavior is sensible, because if we are unable to validate the user we must assume the session is invalid.
Catching the error at this point reportedly helps with some scenarios and shouldn't cause any further harm.

(cherry picked from commit 8349cebb61)
2019-08-01 13:07:05 +02:00
Josh Soref c69c0def96 [JENKINS-57383] add missing cast (#4104)
(cherry picked from commit 9769092ee0)
2019-08-01 13:05:15 +02:00
Jesse Glick 3076b58df4 [JENKINS-33843] Permit disabling optional dependencies (#4001)
* Implied dependencies on detached plugins were not being marked optional despite being listed in optionalDependencies, confusing the calculation of optionalDependents in resolveDependentPlugins.

* Javadoc improvements based on code exploration.

* [JENKINS-33843] Do not consider optional dependencies for purposes of disabling plugins.

* PluginManagerInstalledGUITest updated to reflect new behavior.

(cherry picked from commit 0f73231f77)
2019-08-01 13:04:14 +02:00
Oleg Nenashev e56fd2d3e4 Merge pull request #4096 from jvz/JENKINS-56243
[JENKINS-56243] Ensure user seed saved to session

(cherry picked from commit a0095dc1ee)
2019-08-01 12:58:21 +02:00