Commit Graph
2356 Commits
Author SHA1 Message Date
Vincent Latombe 41fc5e8622 [JENKINS-61409] Websockets: Use AbstractByteBufferCommandTransport to transport messages (#4596)
* [JENKINS-61409] Websockets: Use AbstractByteBufferCommandTransport to transport messages

* Depend on timestamped snapshot since incrementals is broken

* Fix reviews

* Update snapshot dep

* Print directly
2020-03-25 14:38:41 -06:00
Kohsuke Kawaguchi 96ef7039d5 [maven-release-plugin] prepare for next development iteration 2020-03-23 15:41:58 -07:00
Kohsuke Kawaguchi 2181495af5 [maven-release-plugin] prepare release jenkins-2.228 2020-03-23 15:41:53 -07:00
Kohsuke Kawaguchi cb6552c9db [maven-release-plugin] prepare for next development iteration 2020-03-22 21:17:47 -07:00
Kohsuke Kawaguchi 454b01fe72 [maven-release-plugin] prepare release jenkins-2.227 2020-03-22 21:17:42 -07:00
Mark Waite aefb5c1891 Merge pull request #4594 from olivergondza/jdk-cross-compilation
[JENKINS-61105] Add support for cross-compilation
2020-03-20 13:01:26 -06:00
Oliver Gondža 905e1b5155 [JENKINS-61105] Add support for forward compilation
Use the javac --release flag over -source and -target to make sure the compiler
reflect JDK API differences as well.
2020-03-19 10:22:25 +01:00
Kohsuke Kawaguchi 07c48b03fb [maven-release-plugin] prepare for next development iteration 2020-03-15 17:06:49 -07:00
Kohsuke Kawaguchi 6c0afccc0c [maven-release-plugin] prepare release jenkins-2.226 2020-03-15 17:06:44 -07:00
Kohsuke Kawaguchi 5c49b3b2f3 [maven-release-plugin] prepare for next development iteration 2020-03-09 23:10:30 -07:00
Kohsuke Kawaguchi f282bd8627 [maven-release-plugin] prepare release jenkins-2.225 2020-03-09 23:10:24 -07:00
Kohsuke Kawaguchi 4767a3bf99 [maven-release-plugin] prepare for next development iteration 2020-03-08 14:11:10 -07:00
Kohsuke Kawaguchi 3935b7c734 [maven-release-plugin] prepare release jenkins-2.224 2020-03-08 14:11:00 -07:00
Tim Jacomb 3ebb9e3592 Merge pull request #4389 from jeffret-b/suppressStack
[JENKINS-60410] Add stack trace suppression into core as a standard behavior.
2020-03-04 18:42:53 +00:00
Kohsuke Kawaguchi 7f8de3ce8a [maven-release-plugin] prepare for next development iteration 2020-03-01 17:40:25 -08:00
Kohsuke Kawaguchi e524b3f0ba [maven-release-plugin] prepare release jenkins-2.223 2020-03-01 17:40:20 -08:00
Jeff Thompson 6b68c9e164 Merge branch 'master' into suppressStack 2020-02-24 11:42:36 -07:00
Jeff Thompson 4786a1c481 Merge branch 'master' into suppressStack 2020-02-24 08:47:10 -07:00
Kohsuke Kawaguchi 5729fb717e [maven-release-plugin] prepare for next development iteration 2020-02-23 17:53:02 -08:00
Kohsuke Kawaguchi a08dd9ba7a [maven-release-plugin] prepare release jenkins-2.222 2020-02-23 17:52:57 -08:00
Kohsuke Kawaguchi 2b1d66586b [maven-release-plugin] prepare for next development iteration 2020-02-19 11:44:39 -08:00
Kohsuke Kawaguchi ecc39b29be [maven-release-plugin] prepare release jenkins-2.221 2020-02-19 11:44:31 -08:00
Tim Jacomb 5c36f4571f Merge pull request #4381 from jeffret-b/findsecbugs
Add findsecbugs plugin to spotbugs.
2020-02-15 11:47:01 +00:00
Jeff Thompson 313d198519 Update to use newer jenkins-test-harness.
Use one that enables stack traces for tests that rely on it for easier development and troubleshooting.
Only in incrementals so far.
2020-02-13 13:36:36 -07:00
Kohsuke Kawaguchi e489dc20e5 [maven-release-plugin] prepare for next development iteration 2020-02-09 13:18:36 -08:00
Kohsuke Kawaguchi e97efd05df [maven-release-plugin] prepare release jenkins-2.220 2020-02-09 13:18:30 -08:00
Jeff Thompson 9912692b5b [JENKINS-60926] - Fix agent installation as a service on Windows. (regression in 2.217) (#4476)
* Upgrade to 4.2 version of Remoting.

* Upgrade to slave-installer 1.7.
2020-02-07 19:50:41 -07:00
Kohsuke Kawaguchi c376ffe0a4 [maven-release-plugin] prepare for next development iteration 2020-01-28 11:03:06 -08:00
Kohsuke Kawaguchi 789b74b00d [maven-release-plugin] prepare release jenkins-2.219 2020-01-28 11:03:02 -08:00
Jeff Thompson c365300f99 Merge branch 'master' into security-master 2020-01-27 13:36:19 -07:00
Kohsuke Kawaguchi f2861f2b68 [maven-release-plugin] prepare for next development iteration 2020-01-27 11:25:53 -08:00
Kohsuke Kawaguchi e09bdd3116 [maven-release-plugin] prepare release jenkins-2.218 2020-01-27 11:25:48 -08:00
Jeff Thompson c76ee59810 Add findsecbugs plugin to spotbugs.
And suppress existing warnings. We should clean some of them up, but that's for different PRs.
2020-01-23 14:53:53 -07:00
Kohsuke Kawaguchi 30dbf728ec [maven-release-plugin] prepare for next development iteration 2020-01-23 07:14:52 -08:00
Kohsuke Kawaguchi 3d8a846a75 [maven-release-plugin] prepare release jenkins-2.217 2020-01-23 07:14:46 -08:00
Kohsuke Kawaguchi 7e3382acba [maven-release-plugin] prepare for next development iteration 2020-01-22 15:34:51 -08:00
Kohsuke Kawaguchi 6b6fece88c [maven-release-plugin] prepare release jenkins-2.216 2020-01-22 15:34:37 -08:00
Oleg Nenashev 99b822eb6a Merge pull request #4441 from jtnord/update-accmod
Update access-modifier to allow plugins to use suppressions
2020-01-22 17:07:59 +01:00
Jesse Glick 5b5040298f [JEP-222] WebSocket support (#4369)
* Playing with WebSocket connections.

* Pluggable handlers.

* errorWithoutStack

* Server-side keepalive pings.

* Redesigned to work as an HttpResponse.

* Unused dep.

* Comment on JnlpSlaveRestarterInstaller.

* Sketch of WebSocket-based endpoint for JNLPLauncher.

* Comment.

* Test enhancement.

* Making it more obvious from JNLPLauncherTest where remoting.jar is being loaded from.

* Reworked protocol to negotiate remote capabilities.

* Unhelpful comment.

* Simplifying handshake to use HTTP headers.

* Moving code into top-level classes and otherwise prettifying.

* Linking to upstream PRs.

* Timestamped snapshot + incremental.

* Picking up incrementalified build of winstone.

* Working around https://github.com/kohsuke/access-modifier/pull/17.

* Finally have an incrementalified build of remoting.

* Use -webSocket option.

* Handling some close and error methods.

* Sending X-Remoting-Minimum-Version.

* If hudson.remoting.jnlp.Main._main fails, show the error.

* Comment.

* GUI analogue of https://github.com/jenkinsci/remoting/pull/357/commits/86cea5b83fd2fc93a9fc10896962eb42c95f80a0.

* Missing since tags.

* Capitalization.

* WebSockets.isSupported

* Rather than hiding JNLPLauncher.DescriptorImpl when the TCP port is disabled, always display it, but show form validation appropriate to WebSocket or TCP mode.

* Form validation fixes.

* Minor test improvements.

* Reworked WebSocketAgents to be compatible with JnlpAgentReceiver.

* Removing WebSocketSession.keepAlive in favor of a global setting applicable to all services.

* Add a -webSocket option to the Jenkins CLI.

* Using a snapshot deployment of Remoting, pending INFRA-2379.

* After #3838 there is no reason to recheck authentication after parsing CLICommand arguments.

* Advertise the -webSocket option.

* Adapt to newer HtmlUnit.

* https://github.com/HtmlUnit/htmlunit/pull/29 seems to have been incompatible.
WebClient.addRequestHeader will no longer override a header in a WebRequest,
such as when the same WebClient/WebRequest was previously used with different headers.

* Tracked down a behavioral change in passing through URL-encoded path characters.
https://github.com/HtmlUnit/htmlunit/commit/2c4956863420e4baef9d3d8c23ec0577ec64d2bf picks up
https://github.com/apache/httpcomponents-client/commit/8c04c6ae5e5ba1432e40684428338ce68431766b which is the actual change.

* Disabled TCP port does not matter in WebSocket mode.

* Shade dependencies needed for jenkins-cli.jar.

* Help text edit.

* https://github.com/jenkinsci/winstone/pull/79 was released as 5.5.

* https://github.com/jenkinsci/jenkins-test-harness/pull/183 released as 2.59.

* https://github.com/jenkinsci/jenkins/pull/4387#discussion_r362696234

* Bumping remoting to a new deployed snapshot.

* Need https://github.com/jenkinsci/winstone/pull/86.

* https://github.com/jenkinsci/winstone/pull/86 released as 5.6.

* Introduced constant for X-Remoting-Minimum-Version.

* s/slave/agent/ in GUI

* Removing in-JVM test, as it was no longer useful after introducing shading anyway.

* Bump.

* No need to check for anonymous CONNECT here.

* s/jenkins.slaves/jenkins.agents/g for new code.

* Restrict the diagnostic endpoint to administrators.

* Fixed Javadoc import after package move.

* https://github.com/jenkinsci/remoting/pull/357 released as 4.0.
2020-01-21 07:00:39 +01:00
James Nord b2b6465a66 Update access-modifier to allow plugins to use suppressions 2020-01-20 14:27:51 +00:00
Wadeck Follonier 574ec6e5bd Merge branch 'master' into security-master 2020-01-20 14:55:10 +01:00
Kohsuke Kawaguchi 1568f328cd [maven-release-plugin] prepare for next development iteration 2020-01-19 13:00:48 -08:00
Kohsuke Kawaguchi c4b2894202 [maven-release-plugin] prepare release jenkins-2.215 2020-01-19 13:00:43 -08: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
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 2020-01-12 10:53:56 -08:00