Commit Graph
31474 Commits
Author SHA1 Message Date
Jon cfec42e28b Fix bug in TextparameterDefinition (#5704)
TextParameterDefinition did not override getDefaultParameterValue()
method and instead relied on the implementation in
StringParameterDefinition. In most cases this wasn't a problem, but in
some cases, for example when triggering build through
buildWithParameters API without specifying the parameter, then the
parameter object would be of the wrong type (StringParameterValue as
opposed to TextParameterValue). This causes problems with visualization
in parameters view as well as incorrect values when rebuild plugin is
used.

Change-Id: If4e11bdafcd94c9c83462983f384fa80ae2c4d9c
2021-09-06 08:20:06 +01:00
dependabot[bot] 529cb5eefb Bump jnr-posix from 3.1.7 to 3.1.8 (#5703)
Bumps [jnr-posix](https://github.com/jnr/jnr-posix) from 3.1.7 to 3.1.8.
- [Release notes](https://github.com/jnr/jnr-posix/releases)
- [Commits](https://github.com/jnr/jnr-posix/compare/jnr-posix-3.1.7...jnr-posix-3.1.8)

---
updated-dependencies:
- dependency-name: com.github.jnr:jnr-posix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-06 08:19:49 +01:00
Basil Crow 725dd933d6 [JENKINS-23784] - Register DependencyClassLoader in the default plugin strategy as parallel-capable (#5699) 2021-09-05 19:08:17 +01:00
Jan Faracik f2926a9b81 Graphs now scale correctly for high-DPI screens (#5697)
* initial

* Update Graph.java

* Update Graph.java
2021-09-05 18:10:37 +02:00
Raihaan Shouhell d7604cfb08 Merge pull request #5701 from jglick/anonymous-to-lambda
Replace some anonymous classes with lambdas
2021-09-05 22:13:34 +08:00
Basil Crow ad427ecd66 Clean up PluginFirstClassLoader and PluginManager (#5686) 2021-09-02 20:36:48 +01:00
Daniel BeckandDaniel Beck 62d30d2462 Fix agent-to-controller security killswitch UI (#5694)
* Fix agent-to-controller security killswitch UI

* Add Javadoc as requested

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2021-09-02 11:18:30 +02:00
Stefan Spieker 15da6f198f Use try with resources where spotbugs suggests (#5680) 2021-09-02 10:11:14 +01:00
dependabot[bot] c2f41bd57d Bump mockito-core from 3.12.1 to 3.12.4 (#5696) 2021-09-01 16:10:08 +00:00
dependabot[bot] 976dbfce0d Bump checkstyle from 8.45.1 to 9.0 (#5702)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45.1 to 9.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.45.1...checkstyle-9.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 17:08:20 +01:00
Oleg Nenashev 11d2e6f5fc Merge pull request #5678 from StefanSpieker/nonnull_annotations
Added a few missing @NonNull annotations
2021-09-01 11:35:15 +02:00
Oleg Nenashev c6927e1eb0 Merge pull request #5684 from eltociear/patch-2
Fix typo in menu-debug.js
2021-09-01 11:34:44 +02:00
Jenkins Release Bot 65c91f5166 [maven-release-plugin] prepare for next development iteration 2021-08-31 12:28:45 +00:00
Jenkins Release Bot cbbb200457 [maven-release-plugin] prepare release jenkins-2.309 jenkins-2.309 2021-08-31 12:28:29 +00:00
Basil Crowanddependabot[bot] 3516369a78 Bump XStream from 1.4.17 to 1.4.18 (#5685)
* Bump xstream from 1.4.17 to 1.4.18

Bumps [xstream](https://github.com/x-stream/xstream) from 1.4.17 to 1.4.18.
- [Release notes](https://github.com/x-stream/xstream/releases)
- [Commits](https://github.com/x-stream/xstream/commits)

---
updated-dependencies:
- dependency-name: com.thoughtworks.xstream:xstream
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Adapting `hudson.util.RobustReflectionConverterTest.ifWorkaroundNeeded`.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 07:43:58 +02:00
Jesse Glick fca6d7194f Using Comparator factories in a couple more cases 2021-08-30 15:01:59 -04:00
Jesse Glick fef3a2eb37 Revert "Permission change causes new test failure"
This reverts commit f701dcb41d.
Correcting view-related tests using a deprecated test API that triggered the issue.
Pending inclusion of https://github.com/jenkinsci/jenkins-test-harness/pull/329 into core,
some other tests in this package will print harmless stack traces.
2021-08-30 14:54:44 -04:00
Jesse Glick b23b674fc4 Merge branch 'master' of https://github.com/jenkinsci/jenkins into anonymous-to-lambda 2021-08-30 14:18:15 -04:00
Oleg Nenashev 0ce5ff1cc9 Merge pull request #5687 from basil/parallel
Mark `PluginFirstClassLoader`, `MaskingClassLoader`, and `AntClassLoader` as parallel-capable
2021-08-30 14:45:38 +02:00
Jan Faracik 9ab2dc8d24 Fix missing icons (#5690)
* Fix missing icons

* Update sidepanel.jelly

* Temp fix for missing gear icon

* Update console-link.jelly

* Update console-link.jelly
2021-08-30 14:45:00 +02:00
Oleg Nenashev 3658c628e1 Merge pull request #5695 from daniel-beck/update-at-since-2.308
Update at-since up to 2.308
2021-08-30 14:44:22 +02:00
Daniel Beck ef6b562161 Update at-since up to 2.308 2021-08-26 17:09:43 +02:00
Mads Dam JakobsenandJesse Glick fdb52b3d04 Add ABORTED threshold to ReverseBuildTrigger (#5542)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2021-08-26 11:52:31 +01:00
Oleg Nenashev 6ce3515136 Merge pull request #5682 from jenkinsci/dependabot/maven/net.java.dev.jna-jna-5.9.0
Bump jna from 5.8.0 to 5.9.0
2021-08-26 11:54:15 +02:00
Oleg Nenashev b9b3d0c868 Merge pull request #5681 from jenkinsci/dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-2.12.3
Bump spotless-maven-plugin from 2.12.2 to 2.12.3
2021-08-26 11:48:38 +02:00
Basil Crow 622d4a5541 Mark PluginFirstClassLoader, MaskingClassLoader, and AntClassLoader as parallel-capable 2021-08-24 09:37:18 -07:00
Jenkins Release Bot 827ff39b70 Merge branch 'master' of github.com:jenkinsci/jenkins 2021-08-24 12:51:47 +00:00
Jenkins Release Bot f88c67e6f1 [maven-release-plugin] prepare for next development iteration 2021-08-24 12:51:43 +00:00
Jenkins Release Bot 4c182e7120 [maven-release-plugin] prepare release jenkins-2.308 jenkins-2.308 2021-08-24 12:51:25 +00:00
Ikko Ashimine 399fc20497 Fix typo in menu-debug.js
psuedo -> pseudo
2021-08-24 20:34:26 +09:00
Tim Jacomb 7110e181fe Automate jenkins.io changelog (#5583) 2021-08-24 12:08:37 +01:00
Basil Crow c9eaf345d8 Remove Java 11 ClassNotFoundException telemetry (#5666) 2021-08-24 08:00:15 +01:00
Brady ShoberandWadeck Follonier 471f7c38c8 Encode special characters for generated shell command (#5636)
Co-authored-by: Wadeck Follonier <Wadeck@users.noreply.github.com>
2021-08-24 07:59:54 +01:00
Jan FaracikandTim Jacomb 20e34cb942 Use SVGs over PNGs for the sidebar when possible (#5663)
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2021-08-24 07:59:36 +01:00
dependabot[bot] f3775cfd6d Bump jna from 5.8.0 to 5.9.0
Bumps [jna](https://github.com/java-native-access/jna) from 5.8.0 to 5.9.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.8.0...5.9.0)

---
updated-dependencies:
- dependency-name: net.java.dev.jna:jna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 18:05:29 +00:00
dependabot[bot] 16854fef0e Bump spotless-maven-plugin from 2.12.2 to 2.12.3
Bumps [spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.12.2 to 2.12.3.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.12.2...maven/2.12.3)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 18:04:46 +00:00
dependabot[bot] 85797ebe63 Bump mockito-core from 3.11.2 to 3.12.1 (#5676)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.2 to 3.12.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 08:31:15 +01:00
Jan FaracikandOleg Nenashev 04a98ff134 Revamp Feed bar and Add/Edit description button to be consistent + correctly spaced (#5664)
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2021-08-23 08:28:16 +01:00
Oleg Nenashev 12dac346bb Merge pull request #5615 from i-am-vt/patch-1
[JENKINS-66105]The appropriate HTTP code in buildWithParameters.
2021-08-22 22:18:57 +02:00
James Nord d3acf6ac9d [JENKINS-66379] upgrade winstone to allow non JKS keystores for https certificates (#5670)
* [JENKINS-66379] upgrade winstone to pickup upstream fix

The change uses the JVM default keystore.  This allows jenkins to be
used for TLS termination even when JKS is not the default keystore, or
is not allowed for other restrictions.

If someone has a non default keystore yet is using a keystore here then
this will break on upgrade, however it is unlikely that they would be
having a non default keystore as the normal reason for doing that is due
to a restriction like FIPS-140 and given the keystore we require has a
key using JDK here would be non compliant.

* Update war/pom.xml

update winstone to release version (5.21)
2021-08-22 22:18:01 +02:00
Oleg Nenashev 2999b11c46 Merge pull request #5671 from daniel-beck/resource-domain-recommendation-security
Mark Resource Domain Recommendation monitor as security
2021-08-22 22:15:32 +02:00
Oleg Nenashev 753960d7df Merge pull request #5674 from daniel-beck/label-atom-validation
Terminology: Warn about use of 'master' in label expression
2021-08-22 22:15:10 +02:00
Stefan Spieker 55175c0846 added a few missing @NonNull annotations 2021-08-21 14:46:51 +02:00
Daniel Beck 2ea81d3f7f Terminology: Warn about use of 'master' in label expression 2021-08-19 20:10:04 +02:00
dependabot[bot] 485450d045 Bump spring-security-bom from 5.5.1 to 5.5.2 (#5672) 2021-08-19 06:57:14 +00:00
offaandTim Jacomb 3c8dd1664f Some test code clean-up (#5669)
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2021-08-19 07:56:57 +01:00
Basil Crow e0ada43610 Stop setting useAntClassLoader which nothing consumes (#5610) 2021-08-17 20:41:46 +01:00
Stefan Spieker 319b91053e Minor deprecation fixes (#5668) 2021-08-17 20:41:40 +01:00
e24edad730 Bump junit from 1.51 to 1.52 (#5665)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wadeck <wadeck.follonier@gmail.com>
2021-08-17 20:40:27 +01:00
Jenkins Release Bot 50e4cd9ce2 [maven-release-plugin] prepare for next development iteration 2021-08-17 12:27:55 +00:00