Commit Graph
1135 Commits
Author SHA1 Message Date
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
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
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
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
René Scheibe 7a3699d3f4 Fix issues in properties files
- trailing spaces ` ` after backslash `\` for multi-line entries
- missing backslash `\` for multi-line entries
- missing escaping of the key/value separator colon `:` when used literally
- missing key/value separator `=`
- duplicate entries
- extra content without a key
2020-01-06 21:34:43 +01:00
Kohsuke Kawaguchi 67e1991908 [maven-release-plugin] prepare for next development iteration 2020-01-05 14:09:49 -08:00
Kohsuke Kawaguchi 13ab7b9909 [maven-release-plugin] prepare release jenkins-2.212 2020-01-05 14:09:44 -08:00
Kohsuke Kawaguchi 5d78705806 [maven-release-plugin] prepare for next development iteration 2020-01-02 07:54:36 -08:00
Kohsuke Kawaguchi 806d8b57b6 [maven-release-plugin] prepare release jenkins-2.211 2020-01-02 07:54:28 -08:00
César Soto Valero 2869c8615d Update pom.xml 2019-11-29 09:02:32 +01:00
cesarsotovalero 16f46bc1a9 remove unused dependencies 2019-11-29 01:06:03 +01:00
Jesse Glick 8c81991ec0 Race condition in PlainCLIProtocolTest. 2019-11-26 09:03:58 -05:00
Kohsuke Kawaguchi c3cba50800 [maven-release-plugin] prepare for next development iteration 2019-11-24 16:52:08 -08:00
Kohsuke Kawaguchi 95a464305c [maven-release-plugin] prepare release jenkins-2.206 2019-11-24 16:51:59 -08:00
StefanSpieker 5057edae53 introduced junit5 as testing backend for cli tests (#4220) 2019-11-18 11:18:22 +01:00
Kohsuke Kawaguchi a1e740a56d [maven-release-plugin] prepare for next development iteration 2019-11-17 16:38:56 -08:00
Kohsuke Kawaguchi 7e5259b024 [maven-release-plugin] prepare release jenkins-2.205 2019-11-17 16:38:40 -08:00
Jesse Glick 642a4ff0f3 jenkins-cli.jar no longer needs to bundle remoting. 2019-11-08 17:28:37 -05:00
Kohsuke Kawaguchi 05843c35d3 [maven-release-plugin] prepare for next development iteration 2019-11-04 09:32:58 -08:00
Kohsuke Kawaguchi 1b64b47a23 [maven-release-plugin] prepare release jenkins-2.203 2019-11-04 09:32:51 -08:00
Oleg Nenashev 41a13dffc6 Merge pull request #4308 from basil/javadoc
Javadoc cleanup
2019-11-01 01:30:33 +03:00
Mustafa Ulu 84d9076e32 Localization files should end with line feed
Translation tool can append new keys to end of existing files. If a properties file does not end with line feed than the first new key will be appended to the last line of that file.

For example a line like "key=value" will become "key=valueappendedKey=appendedValue"
2019-10-26 14:14:04 +03:00
Kohsuke Kawaguchi 34d2e743bd [maven-release-plugin] prepare for next development iteration 2019-10-20 16:47:23 -07:00
Kohsuke Kawaguchi 0f94f12ecc [maven-release-plugin] prepare release jenkins-2.201 2019-10-20 16:47:11 -07:00
Basil Crow 20786f087b Fix dangling Javadocs 2019-10-19 14:02:59 -07:00
Kohsuke Kawaguchi 5b3ea20b68 [maven-release-plugin] prepare for next development iteration 2019-10-14 15:02:40 -07:00
Kohsuke Kawaguchi 29e6ea7ada [maven-release-plugin] prepare release jenkins-2.200 2019-10-14 15:02:30 -07:00
Kohsuke Kawaguchi 8e131f78f0 [maven-release-plugin] prepare for next development iteration 2019-10-06 16:55:07 -07:00
Kohsuke Kawaguchi eacdec3563 [maven-release-plugin] prepare release jenkins-2.199 2019-10-06 16:54:57 -07:00
Oleg Nenashev abf4695421 Merge pull request #4263 from daniel-beck/JENKINS-59267
[JENKINS-59267] Increase ping frequency to prevent timeouts, and make it configurable
2019-10-06 11:31:31 +02:00
Daniel Beck 84b07be2b7 [JENKINS-59267] Increase ping frequency to prevent timeouts 2019-10-04 14:39:41 +02:00
Kohsuke Kawaguchi 6d6a0a665b [maven-release-plugin] prepare for next development iteration 2019-09-29 14:30:18 -07:00
Kohsuke Kawaguchi 73fc7659a4 [maven-release-plugin] prepare release jenkins-2.198 2019-09-29 14:30:03 -07:00
a544a3b3b2 Extracted duplicate code (#4206)
* extracted duplicate code into helper method

* merged two identical switch statements

* Update cli/src/test/java/hudson/cli/PrivateKeyProviderTest.java

Co-Authored-By: Matt Sicker <boards@gmail.com>

* Apply suggestions from code review

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

* Update cli/src/test/java/hudson/cli/PrivateKeyProviderTest.java

Co-Authored-By: Tim Jacomb <t.jacomb@kainos.com>

* renamed method as suggested by timja
2019-09-28 10:29:13 +02:00
Kohsuke Kawaguchi 90fa176674 [maven-release-plugin] prepare for next development iteration 2019-09-22 16:29:10 -07:00
Kohsuke Kawaguchi b48c34ddaa [maven-release-plugin] prepare release jenkins-2.196 2019-09-22 16:28:55 -07:00
Stefan Spieker c0d3492fd7 removed powermock dependency because it was not used in cli 2019-09-21 22:41:17 +02:00
Kohsuke Kawaguchi 97a8dcc1d8 [maven-release-plugin] prepare for next development iteration 2019-09-16 01:57:27 -07:00
Kohsuke Kawaguchi a04f0b9246 [maven-release-plugin] prepare release jenkins-2.195 2019-09-16 01:57:19 -07:00
Oleg Nenashev ac97a7debc Merge pull request #4150 from jtnord/bom
[JENKINS-48578] BOM for Jenkins dependencies consumable by plugins
2019-09-13 23:44:51 +02:00
StefanSpieker 69a524ab0b Fixed deprecated warnings without changing behaviour (#4177)
* fixed deprecated warnings without changing behaviour

* use Charset.defaultCharset() instead of null
2019-09-13 09:45:34 +02:00
Mark Wynn-Mackenzie 8a7bfb49ad Merge remote-tracking branch 'upstream/master' into bom 2019-09-09 17:34:07 +01:00
Kohsuke Kawaguchi e1801d0d13 [maven-release-plugin] prepare for next development iteration 2019-09-08 16:13:44 -07:00
Kohsuke Kawaguchi 0f569f2cca [maven-release-plugin] prepare release jenkins-2.194 2019-09-08 16:13:35 -07:00