Commit Graph
130 Commits
Author SHA1 Message Date
Jesse Glick 12ae48ebb4 Deprecating --username/--password and login/logout in favor of new -auth option passing BASIC authentication to /cli endpoint.
Simpler, does not rely on Remoting, allows use of API tokens, and bypasses JENKINS-12543.
(You could actually do this before but only by embedding userinfo in the -s URL, especially awkward for usernames containing @.)
2017-03-13 16:33:09 -04:00
Jesse Glick 7da0d39000 Argument processing mistake. 2017-03-13 11:53:20 -04:00
Jesse Glick 8302b85024 Draft of a new CLI transport that can operate over CLIAction with the regular HTTP(S) port. 2017-03-11 13:10:02 -05:00
Jesse Glick 2fe2487bab FindBugs, and more clearly stating which transport is in use. 2017-03-10 17:44:51 -05:00
Jesse Glick 492dbbed10 [JENKINS-41745] Make jenkins-cli.jar connect to the SSH port by default. 2017-03-10 16:05:55 -05:00
Daniel Beck 2a03dda885 Reference redirectors and jenkins.io as much as possible (#2756)
* Reference redirectors and jenkins.io as much as possible

* Something went wrong, so this is a troubleshooting URL

* More specific redirect URLs
2017-02-25 19:56:01 +01:00
Oliver Gondža 59291a63c7 Do not report -noCertificateCheck warning on STDOUT 2016-12-15 16:22:24 +01:00
Jesse Glick c4ee05bcae Make sure Security218BlackBoxTest cleans up threads it starts (#2642)
* Make sure Security218BlackBoxTest cleans up threads it starts.

* Some code simplifications, and possible leak fixes, based on CLI now being AutoCloseable.

* Obsolete comment.
2016-12-09 11:05:49 +01:00
Nicolas De Loof 7b39424495 rely on try-with-resources 2016-10-03 15:12:48 +02:00
Alexander Shopov 9d0846274e Updating Bulgarian translation (#2498)
Many more *.properties files
Started HTML files

Signed-off-by: Alexander Shopov <ash@kambanaria.org>
2016-08-14 15:12:30 +02:00
Baptiste Mathus 99c43c8ccd Remove pre Java 7 reflection's based invocations
Simplify the code now the minimum version is Java 7.
2016-04-13 23:09:22 +02:00
Michael Koch 413baa1fbb Add desription of -noKeyAuth command line option for german translation 2016-03-27 13:32:03 +02:00
Alexander Shopov 6cd138331a Initlial Bulgarian translation
All Message_bg.properties files done - 654 strings.
Added MIT license to every new file.

Signed-off-by: Alexander Shopov <ash@kambanaria.org>

Author:    Alexander Shopov <ash@kambanaria.org>
2015-11-16 11:29:40 +02:00
Kohsuke Kawaguchi 93cc3690bb Merge branch 'security-stable-1.625' into security-master 2015-11-10 10:18:13 -08:00
Kohsuke Kawaguchi 3284cfed4a Merge branch 'security-stable-1.609' into security-stable-1.625 2015-11-10 10:17:30 -08:00
Kohsuke Kawaguchi a78b13e7d0 Merge branch 'security-stable-1.596' into security-stable-1.609 2015-11-10 10:17:04 -08:00
Kohsuke Kawaguchi de3bf08adb Merge branch 'security-stable-1.580' into security-stable-1.596 2015-11-10 10:16:36 -08:00
Jesse Glick 3b59990a02 Merge remote-tracking branch 'security-stable-1.580' into SECURITY-218-blackbox 2015-11-09 21:05:46 -05:00
Kohsuke Kawaguchi 54a1a53147 Merge branch 'security-stable-1.625' into security-master 2015-11-07 21:43:35 -08:00
Kohsuke Kawaguchi f4e8db2549 Merge branch 'security-stable-1.609' into security-stable-1.625 2015-11-07 21:43:09 -08:00
Kohsuke Kawaguchi 4c0d5ea643 Merge branch 'security-stable-1.596' into security-stable-1.609
Conflicts:
	cli/src/test/java/hudson/cli/ConnectionTest.java
	pom.xml
2015-11-07 21:41:42 -08:00
Kohsuke Kawaguchi 6653b5199e Merge branch 'security-stable-1.580' into security-stable-1.596
Conflicts:
	pom.xml
2015-11-07 21:39:05 -08:00
Kohsuke Kawaguchi c7e0b79932 Adjusted to the additional fix in remoting 2015-11-07 20:26:56 -08:00
Jesse Glick bc69f8c11f Developed structure of blackbox test. 2015-11-07 18:39:27 -05:00
Kohsuke Kawaguchi 71b341013e Reworked the fix.
Most of the changes are now in remoting.
2015-11-06 19:50:47 -08:00
marco a8f518e098 Use of class Base64 in a static way 2015-10-20 10:24:57 +02:00
Oleg Nenashev fd42e33d61 Merge pull request #1661 from deadmoose/deprecated_annotations
Add @Deprecated annotations to things documented as @deprecated.
2015-04-22 16:21:45 -07:00
Kohsuke Kawaguchi 1a8a00a82c If CLI main thread fails, kill the JVM no matter what.
This prevents a long running CLI process (such as CloudBees OPE
proccesses) to hang forever when the main thread fails.

Whereas if the process terminates cleanly, the wrapper (such as systemd)
can take corrective actions.
2015-04-20 20:58:48 -07:00
David Hoover 1709ed3a2e Add @Deprecated annotations to things documented as @deprecated. 2015-04-19 14:50:12 -07:00
Kohsuke Kawaguchi 5055776cd8 Set proper socket parameters suitable for CLI communication
Keep-alive option ensures that the connection won't hang forever. NoDelay option improves performance as the communication over the socket is already datagram oriented.

See: https://developer.cloudbees.com/bin/view/DEV/On-Premise+Executors
2015-03-27 14:20:02 -07:00
Bruno Kühnen Meneguello d6b4a69b81 Lots of translations and some typo fixes 2014-10-07 09:51:19 -03:00
Bruno Kühnen Meneguello adcd8f22e8 Argument name updated to noKeyAuth 2014-07-26 20:16:50 -03:00
Bruno Kühnen Meneguello 0a7a9a921e [FIXED JENKINS-23970] CLI authentication with username/password try to read my .ssh/id_rsa and prompts for key password 2014-07-25 18:09:06 -03:00
Kohsuke Kawaguchi c498c0f6a7 Needs to use SocketChannelStream to avoid deadlock.
streams created from SocketChannel doesn't allow concurrent read/write
by different threads, which appear to be a bug in NIO.
2014-04-09 14:54:44 -07:00
Oliver Gondža 000b93fe70 Merge pull request #1147 from olivergondza/expose-key-reading
Expose PrivateKeyProvider
2014-03-11 12:17:02 +01:00
Oliver Gondža 66d61328cc Expose PrivateKeyProvider 2014-03-05 19:47:33 +01:00
Kohsuke Kawaguchi 8901dbe49c Exposing it outside 2014-02-14 18:29:21 -08:00
Fernando Boaglio 587992c372 Translation pt_BR - Jenkins Meetup Sao Paulo 2013-12-08 09:08:38 -02:00
Jesse Glick a0e19f14bc Merge branch 'fork_fix-nas-exception2' of github.com:marco-miller/jenkins into marco-miller-fork_fix-nas-exception2 2013-11-20 09:57:33 -05:00
Jesse Glick 4825967fe3 Deleting code using @IgnoreJRERequirement for Java 5 compatibility. 2013-11-15 08:43:40 -05:00
Marco Miller 8067edd97d Throw IOException if negative int from port-based cli connection stream.
-Instead of failing at initializing array with negative size.
Introducing PowerMock test for the zero-size array case.
Negative-size case not tested thx to unhelping PowerMock behavior.
Using ConnectionMockTest instead of ConnectionTest; needed by PowerMock.
2013-11-14 10:46:24 -05:00
Kohsuke Kawaguchi 344ba8de31 improved error diagnostics 2013-11-05 12:29:51 -08:00
Kohsuke Kawaguchi b2730f3d31 error stream isn't always available 2013-11-05 12:29:51 -08:00
Stephen Connolly 0ab7988297 [FIXED JENKINS-12629] Using jenkins-cli connecting to HTTPS port fails due to hostname mismatch in certificate.
- NoCheckTrustManager needed to implement X509TrustManager not just plain TrustManager
2013-09-25 09:48:55 +01:00
Jesse Glick 128ba43413 Fixing a few warnings. 2013-08-09 23:49:52 -04:00
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