Commit Graph
32590 Commits
Author SHA1 Message Date
Oleg Nenashev e4faa17ef7 Merge pull request #5365 from daniel-beck/JENKINS-65172
[JENKINS-65172] Better support for remote platform-plugins.json
2021-03-30 10:07:00 +02:00
Oleg Nenashev 4395d50f27 Merge pull request #5370 from usmonster/JENKINS-36707-add-ci-env-var
[JENKINS-36707] Add `CI` environment variable
2021-03-30 10:06:40 +02:00
Olivier Lamy 82c73972c4 Winstone 5.16 which includes Jetty 9.4.39.v20210325 (#5380)
Signed-off-by: olivier lamy <olamy@apache.org>
2021-03-30 05:08:53 +01:00
dependabot[bot] 52aad03244 Bump jna from 5.7.0 to 5.8.0
Bumps [jna](https://github.com/java-native-access/jna) from 5.7.0 to 5.8.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.7.0...5.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 07:40:34 +00:00
Raihaan Shouhell 669f54a4b6 Merge pull request #5379 from benebsiny/JENKINS-65021
[JENKINS-65021] Disabled dropdown items no longer look disabled
2021-03-29 15:39:04 +08:00
EBIBOandOleg Nenashev 8ffad147e5 [JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag (#5192)
* [JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag

Add the validator for <f:number> whose clazz is 'number', 'number-required', 'non-negative-number-required', 'positive-number', 'positive-number-required'

* Document of min and max value of <f:input>

* Test for min / max support of <f:input>

In hudson-behaviour.js:
1. Convert the min and max to integer when they are comparing.
2. Since the HtmlUnit can't recognize the string literals, I changed it to string concat.

* Fix for "/minAndMaxValidation" 404 not found

Besides, remove unnecessary exception

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2021-03-29 15:33:56 +08:00
43359ca59b Add a couple of admin monitors for executors on the controller (#5337)
* Add a couple of admin monitors.

Warn against leaving executors configured on the controller, under two different scenarios.

* Add line endings.

* Update extension name and doc targets.

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

* Make them security monitors.

* Improve UI / presentation.

* Remove permission checks.

Unnecessary.

* Make localizable.

* Add restricted annotations.

* Fix checkstyle error

* Use same message.

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
2021-03-29 15:32:30 +08:00
dependabot[bot] cea633560b Bump frontend-maven-plugin from 1.11.2 to 1.11.3 (#5378)
Bumps [frontend-maven-plugin](https://github.com/eirslett/frontend-maven-plugin) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/eirslett/frontend-maven-plugin/releases)
- [Changelog](https://github.com/eirslett/frontend-maven-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eirslett/frontend-maven-plugin/compare/frontend-plugins-1.11.2...frontend-plugins-1.11.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 08:48:37 +01:00
James Nord 16aa06a6e6 fix non compilable code on eclipse compiler (#5375)
legacyDescriptors has no idea what type of Descriptor it has and is
using a raw Descrriptor.
legacyDescriptors.computeIfAbsent can then only return keys of the type
that are in the map - and this is a raw type - so no generic is possible
in the return of getLegacyDescriptors()

fixes the eclipse error ->
Type mismatch: cannot convert from
CopyOnWriteArrayList<ExtensionComponent<Descriptor>> to
CopyOnWriteArrayList<ExtensionComponent<Descriptor<T>>>
2021-03-28 08:43:12 +01:00
benebsiny 8820ee1ff0 [JENKINS-65021] Disabled dropdown items no longer look disabled 2021-03-27 13:27:56 +08:00
Mark Waite a24c50eb13 Merge pull request #5376 from eas5/test_improvement
Refactored multiple assertion tests into parameterized ones
2021-03-26 19:19:20 -06:00
Elvys Soares 5b8392b8f6 Including expected values and passed parameters to test names generation.
Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>
2021-03-26 18:46:05 -03:00
Oleg Nenashev 6a95b01ba7 Merge pull request #5368 from daniel-beck/user-agent-decorator
Add a Jenkins User-Agent header to outgoing HTTP requests
2021-03-26 00:07:19 +01:00
Elvys Soares 7651079c4e Refactored multiple assertion tests into parameterized ones
Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>
2021-03-25 11:54:47 -03:00
Oleg Nenashev 530d8c5ea0 Merge pull request #5369 from jenkinsci/dependabot/maven/org.objenesis-objenesis-3.2
Bump objenesis from 3.1 to 3.2
2021-03-25 13:32:00 +01:00
Basil Crow 1b89038dea Bump mailer from 1.33 to 1.34 2021-03-24 10:26:31 -07:00
dependabot[bot] c04c166709 Bump junit from 1.48 to 1.49 (#5353)
Bumps [junit](https://github.com/jenkinsci/junit-plugin) from 1.48 to 1.49.
- [Release notes](https://github.com/jenkinsci/junit-plugin/releases)
- [Commits](https://github.com/jenkinsci/junit-plugin/compare/junit-1.48...junit-1.49)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 17:01:30 +00:00
Jenkins Release Bot c0cb0e2d11 [maven-release-plugin] prepare for next development iteration 2021-03-23 15:33:25 +00:00
Jenkins Release Bot 3b1e551235 [maven-release-plugin] prepare release jenkins-2.285 jenkins-2.285 2021-03-23 15:32:43 +00:00
usmonster 4f1139764c [JENKINS-36707] Add CI environment variable
Introduces a standard `CI` env var that is always set to "true" in order
to allow pipelines and tools to know they're executing in a continuous
integration context. This has emerged as a best practice used by most
other popular CI solutions, and a number of tools look for this variable
in order to make CI-appropriate optimizations (cf. the ticket).

Closes JENKINS-36707.
2021-03-23 16:17:47 +01:00
dependabot[bot] 36cb703b54 Bump objenesis from 3.1 to 3.2
Bumps [objenesis](https://github.com/easymock/objenesis) from 3.1 to 3.2.
- [Release notes](https://github.com/easymock/objenesis/releases)
- [Commits](https://github.com/easymock/objenesis/compare/3.1...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-23 08:23:13 +00:00
Oleg Nenashev 6816ce6151 Merge pull request #5362 from basil/org.jenkins-ci.plugins-mailer-1.33
Bump mailer from 1.32.1 to 1.33
2021-03-23 09:22:11 +01:00
Oleg Nenashev e723ebc91b Merge pull request #5364 from daniel-beck/at-since-2.284
Update at-since annotations up to 2.284
2021-03-23 09:21:26 +01:00
Tim Jacomb e2837f8a57 JENKINS-62006 Fix a classloading issue while executing ProcessTree.get() (#5367)
* JENKINS-62006 Check if agent before master, fix remoting classloading
error

* Use JenkinsJVM API
2021-03-22 12:50:12 +00:00
Daniel BeckandDaniel Beck 43dbc8f9b4 Default to POST form validation (#4623)
* Default to POST form validation

* Add documentation to f:combobox

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2021-03-21 20:21:58 +00:00
Mark Waiteanddependabot[bot] c6420c655d Bump matrix-auth from 2.6.5 to 2.6.6 (#5366)
Bumps [matrix-auth](https://github.com/jenkinsci/matrix-auth-plugin) from 2.6.5 to 2.6.6.
- [Release notes](https://github.com/jenkinsci/matrix-auth-plugin/releases)
- [Changelog](https://github.com/jenkinsci/matrix-auth-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/matrix-auth-plugin/compare/matrix-auth-2.6.5...matrix-auth-2.6.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-21 20:21:25 +00:00
Raihaan Shouhellandres0nance 93a27128f6 Ensure that plugins are sorted by name (#5359)
* Ensure that plugins are sorted by name

* Remove incorrect comment

* Remove unused import

Co-authored-by: res0nance <res0nance@users.noreply.github.com>
2021-03-21 20:20:32 +00:00
Daniel Beck a088584573 Add a Jenkins User-Agent header to outgoing HTTP requests 2021-03-21 16:24:11 +01:00
Mark Waite 9f2ef98585 Use xstream 1.4.16 (#5360)
Changelog: https://x-stream.github.io/changes.html#1.4.16

Switches default parser to a fork of Xpp3 instead of using Xpp3 directly.
Resolves security vulnerabilities when unmarshalling with an XStream
instances using an uninitialized security framework.  As far as I
understand it, Jenkins is not susceptible to those vulnerabilities
because it initializes the security framework.

Also fixes two minor items:

* faulty XmlFriendlyNameCoder optimization
  https://github.com/x-stream/xstream/issues/237

* enum dereferences fail from older versions
  https://github.com/x-stream/xstream/issues/238
2021-03-21 07:33:36 +00:00
Daniel Beck e1beed0396 [JENKINS-65172] Better support for remote platform-plugins.json 2021-03-19 10:53:28 +01:00
Daniel Beck aeadd5e2b5 Remove commons-beanutils block from dependabot config 2021-03-19 09:58:30 +01:00
Daniel Beck 71f26e906e Make test name less weird 2021-03-19 09:36:06 +01:00
Daniel Beck 857874b4fe Add test for DefineTagLibrary creating a tag with 'class' attribute 2021-03-19 09:34:49 +01:00
Daniel Beck 03ed37e75a Minor cleanup, add Javadoc for test 2021-03-19 09:22:59 +01:00
Daniel Beck 1c0951da09 Add test for ReallyStaticTagLibrary with 'class' attribute
Given how common this is, barely worth the effort.
2021-03-19 09:15:54 +01:00
Daniel Beck f03480dafc Add a test for a CustomTagLibrary implementation with 'class' 2021-03-19 09:09:06 +01:00
Daniel Beck 6d9b1fed23 More tests 2021-03-19 00:52:11 +01:00
Daniel Beck bb96fc76df Add some basic tests for st:include in Groovy and Jelly, with and without workaround 2021-03-19 00:21:28 +01:00
Daniel Beck 5e11a86c7d Add new Stapler incremental 2021-03-19 00:17:46 +01:00
Oleg Nenashev 56b6623915 Merge pull request #5363 from jenkinsci/dependabot/github_actions/release-drafter/release-drafter-v5.15.0
Bump release-drafter/release-drafter from v5.14.0 to v5.15.0
2021-03-18 09:41:15 +01:00
Daniel Beck 15299a7111 Update at-since annotations up to 2.284 2021-03-17 18:57:53 +01:00
Oleg Nenashev 73ec09241e Merge pull request #5347 from jeffret-b/bc-api-2.20
Update bundled bouncycastle-api plugin to 2.20.
2021-03-17 09:33:39 +01:00
dependabot[bot] 61e7975b9a Bump release-drafter/release-drafter from v5.14.0 to v5.15.0
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from v5.14.0 to v5.15.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.14.0...fe52e97d262833ae07d05efaf1a239df3f1b5cd4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-17 06:02:56 +00:00
Basil Crow cbe2b0f1d3 Fix hudson.model.UsageStatisticsTest#roundtrip 2021-03-16 10:28:44 -07:00
Basil Crow 954d694b41 Merge remote-tracking branch 'origin/master' into org.jenkins-ci.plugins-mailer-1.33 2021-03-16 10:22:11 -07:00
Jenkins Release Bot 7e7897efca [maven-release-plugin] prepare for next development iteration 2021-03-16 12:32:34 +00:00
Jenkins Release Bot 40cd9649e9 [maven-release-plugin] prepare release jenkins-2.284 jenkins-2.284 2021-03-16 12:31:49 +00:00
Basil Crow 3f53051b0b Test cleanup (#5357) 2021-03-16 08:14:11 +00:00
Daniel BeckandDaniel Beck 0548d59508 Fix sort order (#5356)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2021-03-14 17:07:52 +00:00
Oleg Nenashev ec2e7aca07 Merge pull request #5354 from timja/transparent-image-fixes
Icon typo fixes (used non transparent gif by accident)
2021-03-13 21:08:55 +01:00