Commit Graph
785 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi eeb986977d [maven-release-plugin] prepare for next development iteration 2017-05-21 16:25:54 -07:00
Kohsuke Kawaguchi e51248ba11 [maven-release-plugin] prepare release jenkins-2.62 2017-05-21 16:25:54 -07:00
Kohsuke Kawaguchi a8994d4fa5 [maven-release-plugin] prepare for next development iteration 2017-05-14 18:26:29 -07:00
Kohsuke Kawaguchi d04e6777c7 [maven-release-plugin] prepare release jenkins-2.61 2017-05-14 18:26:28 -07:00
Jesse Glick 3af0cc68cb [JENKINS-27299] Define disabled in ParameterizedJob rather than AbstractProject (#2866)
* Offering default methods on ParameterizedJob.

* Javadoc typo.

* Cleaner use of default methods in ParameterizedJob.

* Need to pick up https://github.com/infradna/bridge-method-injector/pull/15 to be able to build.

* Sketch of pulling disabled functionality into ParameterizedJob.

* EnableJobCommandTest.groovy → EnableJobCommandTest.java, and replacing deprecated Remoting-based CLI calls with CLICommandInvoker.

* All CLI commands could be broken by a missing CLI.*.shortDescription key on just one!

* Forgot to move CLI method short descriptions to new package.

* Needed a @CLIResolver for ParameterizedJob. Adding an OptionHandler while we are here.

* Trying to fix up access-modifier versions; started failing in CI today for unknown reasons.

* Introduced <p:makeDisabled/> by analogy with <p:config-disableBuild/>.

* Using new type bounds.

* access-modifier 1.11 released.

* MatrixProject and MavenModuleSet both expect to have access to makeDisabled.jelly.

* Trying to generalize some more.

* Minor simplification.

* [JENKINS-34716] Generalizing doPolling and schedulePolling.

* isBuildable

* Obsolete comment.

* Updated comments.

* bridge-method-injector 1.17

* Unfortunately AbstractProject.schedulePolling cannot delegate to SCMTriggerItem.

* bridge-method-injector 1.17
2017-05-14 05:15:10 +03:00
Kohsuke Kawaguchi 26d154a3c2 [maven-release-plugin] prepare for next development iteration 2017-05-10 15:08:22 -07:00
Kohsuke Kawaguchi 9c86a3cade [maven-release-plugin] prepare release jenkins-2.60 2017-05-10 15:08:21 -07:00
Kohsuke Kawaguchi 909cdb78e8 [maven-release-plugin] prepare for next development iteration 2017-05-07 21:23:31 -07:00
Kohsuke Kawaguchi 1b76722e13 [maven-release-plugin] prepare release jenkins-2.59 2017-05-07 21:23:31 -07:00
Kohsuke Kawaguchi c33e7dc420 [maven-release-plugin] prepare for next development iteration 2017-04-30 21:38:32 -07:00
Kohsuke Kawaguchi 97b59acc0b [maven-release-plugin] prepare release jenkins-2.58 2017-04-30 21:38:32 -07:00
Kohsuke Kawaguchi 8d10f069a0 [maven-release-plugin] prepare for next development iteration 2017-04-26 10:19:56 -07:00
Kohsuke Kawaguchi ce7f92768e [maven-release-plugin] prepare release jenkins-2.57 2017-04-26 10:19:56 -07:00
Kohsuke Kawaguchi 4af8a599a0 [maven-release-plugin] prepare for next development iteration 2017-04-23 17:16:21 -07:00
Kohsuke Kawaguchi 200f9e05eb [maven-release-plugin] prepare release jenkins-2.56 2017-04-23 17:16:21 -07:00
Stephen Connolly 3871d7778e [JENKINS-43531] Plugins may not be expecting InvalidPathException
- Plugins should really be expecting it, but as historically they have not, may as well convert to IOE for them
2017-04-19 14:04:33 +01:00
Kohsuke Kawaguchi 33942677d4 [maven-release-plugin] prepare for next development iteration 2017-04-16 03:48:20 -07:00
Kohsuke Kawaguchi 1f3f6c69a3 [maven-release-plugin] prepare release jenkins-2.55 2017-04-16 03:48:20 -07:00
Jesse Glick 7c16d8dc46 Fix Javadoc generation on JDK 8. 2017-04-11 09:26:45 -04:00
Kohsuke Kawaguchi cd13ba8bd8 [maven-release-plugin] prepare for next development iteration 2017-04-09 18:15:04 -07:00
Kohsuke Kawaguchi 2d1e9477bb [maven-release-plugin] prepare release jenkins-2.54 2017-04-09 18:15:04 -07:00
Jesse Glick 729016989e [FIXED JENKINS-41745] Merged #2795: non-Remoting-based CLI. 2017-04-07 20:08:05 -04:00
Jesse Glick 0f87e10a69 @oleg-nenashev requested this be decoupled from https://github.com/jenkinsci/sshd-module/pull/10. 2017-04-07 11:29:21 -04:00
Jesse Glick f3da0e498f Minor review comments from @oleg-nenashev. 2017-04-07 10:22:06 -04:00
Jesse Glick 6ffc57ae79 Verifying that PlainCLIProtocol ignores unrecognized opcodes, so long as it has received well-formed frames. 2017-04-06 15:58:23 -04:00
Jesse Glick 9150d5b563 Suppress an idle timeout from Jetty which would otherwise interfere with interactive commands. 2017-04-06 15:30:53 -04:00
Jesse Glick c41c97b3a2 @stephenc requested documentation of the deprecated FullDuplexHttpStream constructor, and as it turns out it did not work. 2017-04-06 11:40:19 -04:00
Jesse Glick 724ebbcc50 Improved error message displayed when using -http against a pre-JENKINS-41745 server. 2017-04-05 18:42:33 -04:00
Jesse Glick da581599fd -http mode broke when the user omitted the mandatory final / in the Jenkins URL. 2017-04-05 18:28:37 -04:00
Jesse Glick 3939820c5f Using logger as suggested by @rsandell. 2017-04-05 09:53:14 -04:00
Jesse Glick 7bca0a1eef Refined implementation of -logger. 2017-04-05 09:48:56 -04:00
Jesse Glick 9fc59bf251 Finally figured out how to suppress the ReadPendingException from Jetty.
Something¹ seems to interrupt the HTTP duplex service thread,
and Jetty apparently deals poorly with interruptions.
So introduce an extra sleep to soak up the interrupt.

¹Who? http://stackoverflow.com/questions/2126997/who-is-calling-the-java-thread-interrupt-method-if-im-not#comment40865453_2127397
2017-04-04 19:15:03 -04:00
Jesse Glick 3b92399db8 Tested Jetty 9.4.3.v20170317 but ReadPendingException’s did not disappear. 2017-04-04 14:50:46 -04:00
Jesse Glick fb311c687f Suppress a meaningless ClosedChannelException thrown by Jetty when killing a client. 2017-04-04 14:01:57 -04:00
Jesse Glick 03aa2a1f17 Simpler to catch ReadPendingException in just one place. 2017-04-04 13:48:21 -04:00
Jesse Glick 4c1910a10b Silence an annoying message. 2017-04-04 13:24:20 -04:00
Jesse Glick c74999f00c Found a race condition which could explain random CI hangs of CLIActionTest.authenticate. 2017-04-04 11:26:57 -04:00
Jesse Glick 71d7562db6 Merge branch 'master' into SSH-CLI-JENKINS-41745 2017-04-04 11:03:59 -04:00
Jesse Glick 9812db70d3 Improved handling of stream closure.
Making interrupt of `build -s` work in `-http` mode.
Does not solve `ReadPendingException`s.
2017-04-03 18:52:59 -04:00
Jesse Glick f1689367c3 Test failure on Windows, perhaps specific to filesystem type of TemporaryFolder.
java.nio.file.FileSystemException: …\.ssh\known_hosts: Incorrect function.
        at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
        at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:90)
        at sun.nio.fs.WindowsAclFileAttributeView.getFileSecurity(WindowsAclFileAttributeView.java:88)
        at sun.nio.fs.WindowsAclFileAttributeView.getOwner(WindowsAclFileAttributeView.java:121)
        at sun.nio.fs.FileOwnerAttributeViewImpl.getOwner(FileOwnerAttributeViewImpl.java:91)
        at java.nio.file.Files.getOwner(Files.java:2079)
        at org.apache.sshd.common.util.io.IoUtils.getFileOwner(IoUtils.java:272)
        at org.apache.sshd.common.util.io.ModifiableFileWatcher.validateStrictConfigFilePermissions(ModifiableFileWatcher.java:240)
        at org.apache.sshd.client.keyverifier.DefaultKnownHostsServerKeyVerifier.reloadKnownHosts(DefaultKnownHostsServerKeyVerifier.java:79)
        at org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.verifyServerKey(KnownHostsServerKeyVerifier.java:161)
        at …
Interactive testing of known_hosts on XP works as expected.
2017-04-03 17:06:53 -04:00
Oleg Nenashev 33f458d358 Merge pull request #2519 from oleg-nenashev/findbugs/JENKINS-36720-medium-level-fb
[JENKINS-36720] - Cleanup of SOME medium FindBugs issues
2017-04-03 22:45:34 +02:00
Jesse Glick 466d74d15e Merge branch 'master' into SSH-CLI-JENKINS-41745 2017-04-03 12:54:04 -04:00
Kohsuke Kawaguchi 0fac1f84f3 [maven-release-plugin] prepare for next development iteration 2017-04-02 18:15:20 -07:00
Kohsuke Kawaguchi 6e2a00eb8b [maven-release-plugin] prepare release jenkins-2.53 2017-04-02 18:15:20 -07:00
Daniel Beck bde09f70af Merge pull request #2816 from stephenc/jenkins-42934
[JENKINS-42934] Avoid using new FileInputStream / new FileOutputStream
2017-03-30 12:46:10 +02:00
Kohsuke Kawaguchi a3b939849c [maven-release-plugin] prepare for next development iteration 2017-03-26 19:20:17 -07:00
Kohsuke Kawaguchi a538c67277 [maven-release-plugin] prepare release jenkins-2.52 2017-03-26 19:20:17 -07:00
Jesse Glick 60632c0e98 Added -strictHostKey option to CLI in -ssh mode.
[FIXED JENKINS-33595] Picks up https://github.com/jenkinsci/sshd-module/pull/11
to turn off SSHD by default, but expose it to tests which wish to enable it.
2017-03-24 17:12:05 -04:00
Jesse Glick e69ba0f024 Merge branch 'master' into SSH-CLI-JENKINS-41745 2017-03-24 15:26:59 -04:00
Daniel Beck a00a6993ec Merge branch 'master' of github.com:jenkinsci/jenkins into update-german-translation 2017-03-24 01:58:19 +01:00