Commit Graph
85 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 5e21aae8f8 this is just a warning and not fatal 2013-06-07 10:58:10 +03:00
Kohsuke Kawaguchi dc94b7d063 [FIXED JENKINS-8686]
As I mentioned in the comment, I doubt if this makes any behaviour change, but this seems like a sensible defensive measure that wouldn't hurt.
2013-04-02 09:58:50 -07:00
Simon Wiest ba13905b24 Minor update of the German localization strings. 2013-03-06 21:39:22 +01:00
Simon Wiest c8a1242951 Changed 'Hudson' into 'Jenkins' in CLI error message. 2013-03-05 21:47:15 +01:00
Pei-Tang Huang bbf1a08f03 Align to commit 2edf32221f. 2013-02-23 23:20:13 +08:00
Pei-Tang Huang 0d864db7f5 Merge branch 'master' of https://github.com/jenkinsci/jenkins 2013-02-23 23:01:34 +08:00
Kohsuke Kawaguchi 2edf32221f [FIXED JENKINS-12629]
Added the -noCertificateCheck option (the option name is consistent with
the slave.jar) that lets users bypass the HTTPS certificate check.

This allows trivial man-in-the-middle attack, so HTTPS will no longer be
HTTPS.
2013-02-22 16:07:11 -08:00
Pei-Tang Huang 427726b85f Add/update Chinese (traditional) translation. 2013-02-20 12:57:44 +08:00
Jesse Glick 9252468e8f CLIConnectionFactory.basicAuth was defined but never used.
Fixed to pass basic auth to HTTP connections when included in user info portion of URL (e.g. as API token).
2013-02-16 10:22:40 -08:00
Jesse Glick adeed34c6c Diagnostics in case crumbIssuer replies with HTML junk.
(Or should we just check the status code?)
2013-02-11 20:35:22 -05:00
Jesse Glick 68b05412ba Improved logging in case both connectViaCliPort and connectViaHttp fail. 2013-02-11 19:21:28 -05:00
Jesse Glick 9bb9d446b5 More efficient to contact crumbIssuer just once and get both name and value. 2013-02-08 17:38:17 -05:00
Kohsuke Kawaguchi 2dc6e811e5 excluding this from animal sniffer check 2012-09-28 14:17:30 -07:00
Kohsuke Kawaguchi 25d990c539 Implemented transport security to CLI connection.
It uses Diffie Hellman to come up with one-time session key, then have
the server sign this session key to allow the client to verify that
there's no man in the middle.
2012-05-24 15:49:37 -07:00
Kohsuke Kawaguchi fd5aa2bc56 bit of simplification 2012-05-24 11:02:09 -07:00
Kohsuke Kawaguchi a5691ea056 avoid using deprecated method 2012-05-24 11:01:16 -07:00
Manolo Carrasco 1f5bc9bdd6 Update Spanish translation 2012-05-22 12:32:33 +02:00
Kohsuke Kawaguchi 76efb9eecb improved error diagnostics 2012-05-21 17:03:08 -07:00
Richard Mortimer ea1b80aebe [FIXED JENKINS-12037] CLI - I/O error in channel Chunked connection
Use a ping timeout of 3/4 of the ping interval instead of the default
4 minute timeout.
This happens to workaround an issue in the remoting PingThread
implementation which causes the ping to busy wait for the timeout
period instead of keeping the channel alive.
2012-03-30 00:39:09 +01:00
Kohsuke Kawaguchi bf7565293a Fixed a socket file descriptor leak. 2012-03-21 18:46:05 -07:00
Kohsuke Kawaguchi 707490aee3 Use a smaller time out.
On iptables protected system, full time out can take 30 secs, which is
too long.
2012-02-27 13:22:54 -08:00
Seiji Sogabe 939d13c86c Updated japanese translations. 2012-01-29 11:14:26 +09:00
Kohsuke Kawaguchi 7360f45d54 this breaks in Java5 so at least giving the user better message 2012-01-27 17:33:58 -08:00
Vojtech Juranek d6eb3cfb88 Added support for ecnrypted key files 2012-01-27 17:31:03 -08:00
Kohsuke Kawaguchi a2e6b59241 made it easier to add parameters to the connection in the future 2012-01-22 15:34:06 -08:00
Kohsuke Kawaguchi 2dfe417c9c added a mechanism to pass in the authorization header separately, so that we can deal with OAuth, etc. 2012-01-22 15:34:06 -08:00
Kohsuke Kawaguchi 1c06615adc added a new constructor to specify the authorization header separately 2012-01-22 15:34:06 -08:00
Kohsuke Kawaguchi 760f9030a8 CLI now supports using HTTP proxy for tunneling its TCP/IP connection 2011-12-19 14:15:50 -08:00
Kohsuke Kawaguchi 721111b196 unused parameter 2011-12-19 14:15:49 -08:00
Kohsuke Kawaguchi 9713527367 Advertise the host name to enable direct connection. 2011-12-19 12:15:34 -08:00
Kohsuke Kawaguchi eec37460da [FIXED JENKINS-11873] don't say proceeding with anonouymous because we might not 2011-12-16 18:42:38 -08:00
Kohsuke Kawaguchi c9958b7ee2 CLI jar now has the version number in the manifest as well as the
"-version" option.
2011-11-14 16:08:57 -08:00
Richard Mortimer 92496f99e4 [FIXED JENKINS-11130] SEVERE: I/O error in channel Chunked connection when using jenkins-cli.jar
When using HTTP full duplex connections the upstream channel can be idle for
long periods of time and the webserver will time the connection out. Jenkins
sees this and terminates the downstream channel causing the unexpected closure
of the read channel in the CLI client.

Timeout of 15 seconds is based on the 20 second default timeout as seen in
Ubuntu Oneiric Tomcat 6 installations.
2011-11-07 14:56:15 -08:00
Richard Mortimer 87995e97b0 Flush HTTP input and error streams after searching for the X-Hudson-CLI-Port
property. This releases the HTTP connection in a friendly way and allows the
webserver to recycle the connection a little quicker.
2011-11-07 14:56:15 -08:00
Kohsuke Kawaguchi 5f756c6170 [FIXED JENKINS-10611] fall back to HTTP if direct TCP connection doesn't
work.
2011-08-09 18:20:03 -07:00
Kohsuke Kawaguchi a70e867590 Jenkins! 2011-07-25 12:57:24 -07:00
Kohsuke Kawaguchi 69d95cb2d0 added more convenience method 2011-06-23 23:57:08 -07:00
Kohsuke Kawaguchi a5c87c3dc2 if the -i option is given, failure to authenticate should cause the CLI to fail. 2011-06-23 16:04:29 -07:00
Kohsuke Kawaguchi 65eb334fdf removed debug statement and unused code. 2011-06-23 16:04:29 -07:00
Kohsuke Kawaguchi 8257ac25e8 Added a mechanism to upgrade the channel to unrestricted one for
programmatic clients.
2011-06-23 15:50:40 -07:00
Kohsuke Kawaguchi fb421b9a08 exposed channel 2011-06-23 15:19:15 -07:00
Kohsuke Kawaguchi 0d4117e48f Implemented SecurityRealm-independent authentication mechanism,
and an implementation around SSH keys.

changelog will be updated when the server-side authentication module
is added.
2011-06-23 12:15:14 -07:00
Jesse Farinacci 3803a3e382 [FIXED JENKINS-9521] exploit commons-codec for Base64 encoding rather than proprietary sun.misc.BASE64Encoder 2011-04-26 11:44:45 -04:00
Kohsuke Kawaguchi 7cb015e10c Added two new CLI commands, inspired by pull-91. 2011-04-12 18:06:52 -07:00
Kohsuke Kawaguchi 3a2def7903 CLI connection needs to be shut down at the end of the test to release resources 2011-03-26 21:35:28 -07:00
Kohsuke Kawaguchi 10c1bcaccd Honor JENKINS_URL. 2011-02-22 05:44:32 +09:00
Manolo Carrasco 0803e89068 Add Spanish missing keys. Update Spanish internationalized values to have the word Jenkins instead of Hudson. Changes in translation tool to advise when a file have the Hudson word 2011-02-02 09:41:55 +01:00
Kohsuke Kawaguchi f08fd38a76 hudson-cli.jar to jenkins-cli.jar rename 2011-01-30 23:51:35 -08:00
Kohsuke Kawaguchi 2f7fbafdd7 i18n.
Regrettably the CLI client and the CLI server are in the same package, and this doesn't work very well with i18n scheme as we end up having two classes of the same name (and one hides the other in the server.)

So I'm renaming the Messages class on the client, but not the classes itself for compatibility
2011-01-14 11:32:13 -08:00
cleibersilva 70f863d1e2 Translation to pt_BR 2010-11-24 19:27:35 -02:00