Commit Graph
934 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi fbfdaef432 made to work with JBoss6 2011-03-27 18:28:32 -07:00
Nathan Parry 18327e9de6 [FIXED JENKINS-8990] Configurable ping interval
This lets you configure the ping interval for slaves via a
system property. (hudson.slaves.ChannelPinger.pingInterval)

The default ping interval has been lowered from 10 to 5 minutes.

It also moves the ping setup logic into a ComputerListener
(out of the JNLP slave Engine class). As a side effect, all
slaves will now have a ping instead of just JNLP slaves.
2011-03-23 12:06:32 -07:00
Kohsuke Kawaguchi 34fee7ca34 the trunk is toward 1.405-SNAPSHOT 2011-03-21 11:34:25 -07:00
Kohsuke Kawaguchi cabd3dbaa8 merged 2011-03-20 23:46:03 -07:00
Kohsuke Kawaguchi 59eb946cf6 [maven-release-plugin] prepare for next development iteration 2011-03-20 23:17:50 -07:00
Kohsuke Kawaguchi 76a1396c87 [maven-release-plugin] prepare release jenkins-1_403 2011-03-20 23:17:49 -07:00
Kohsuke Kawaguchi cd5809ffbc [maven-release-plugin] prepare for next development iteration 2011-03-20 22:44:21 -07:00
Kohsuke Kawaguchi 920ecff5f0 [maven-release-plugin] prepare release jenkins-1_402 2011-03-20 22:44:21 -07:00
Kohsuke Kawaguchi 2aad40296f [FIXED JENKINS-9050] Improved the error diagnostics when a remote method call fails to deserialize. 2011-03-18 22:51:19 -07:00
Kohsuke Kawaguchi 9e788b48c8 doc improvement 2011-03-17 23:11:58 -07:00
Kohsuke Kawaguchi 5c4cc605ff Merge branch 'rc' 2011-03-14 13:32:44 -07:00
Kohsuke Kawaguchi c3fc09939c [FIXED JENKINS-7871] Fixed a race condition in FilePath.copyTo
that results in missing tail bits when the master is heavily loaded.
2011-03-14 13:31:58 -07:00
Kohsuke Kawaguchi 4e328c9f8a the trunk is toward 1.403-SNAPSHOT 2011-03-14 08:48:20 -07:00
Olivier Lamy abcb3fd8b5 remove unused import 2011-03-11 22:18:29 +01:00
Kohsuke Kawaguchi 51770129bb the trunk is toward 1.402-SNAPSHOT 2011-03-08 10:36:20 -08:00
Kohsuke Kawaguchi f9f030db8f thread dump now reports all the threads from all the slaves, not just
the master.
2011-02-28 22:49:29 -08:00
Kohsuke Kawaguchi 3624af0ba5 the trunk is toward 1.401-SNAPSHOT 2011-02-28 18:14:54 -08:00
Kohsuke Kawaguchi fa3e36206a the trunk is toward 1.400-SNAPSHOT 2011-02-21 03:42:13 -08:00
Brian Atkinson 4c10efe1a9 Merge branch 'JENKINS-8592' 2011-02-16 23:17:59 -06:00
Brian Atkinson be5438b3b3 Log out exceptions that happen in copy threads.
This could be useful in trying to track down when things break in special
ways.
2011-02-16 19:48:45 -06:00
Brian Atkinson 1917efdc33 Clean up unused imports 2011-02-16 19:48:44 -06:00
Kohsuke Kawaguchi 96dd84b5d0 [FIXED JENKINS-7809] expose child process stdout as InputStream.
I added a mode where one can launch a child process without the built-in pumping support, making it trivial to read until EOF in the distributed environments.

 This concludes the fix.
2011-02-16 08:28:00 -08:00
Kohsuke Kawaguchi 3a3690b281 [FIXED JENKINS-7809] fixed a race condition in obtaining the tail of the output from remote process. 2011-02-14 17:13:24 -08:00
Kohsuke Kawaguchi 7b40e2e091 being more defensive, in seeing JENKINS-7809 and the following stack trace:
java.lang.NegativeArraySizeException
	at hudson.remoting.ProxyOutputStream$Chunk.<init>(ProxyOutputStream.java:175)
	at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123)
	at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
2011-02-14 10:18:22 -08:00
Kohsuke Kawaguchi 49ca46581a the trunk is toward 1.399 2011-02-12 10:32:32 -08:00
Kohsuke Kawaguchi 8e6929f108 Hudson to Jenkins 2011-02-08 01:37:46 -08:00
Kohsuke Kawaguchi cdf99908e0 the trunk is toward 1.398-SNAPSHOT 2011-02-07 23:27:49 -08:00
Jerome Lacoste 7e3bc36b39 Revert "merge changelog.html fixes from kk"
Note that the above description is incorrect as to what the merge was about.
It is the message that I intended to make. It appears that I accidentaly merged multiple fixes waiting to be reviewed on my private fork.

This reverts commit dce0d2aff0, reversing
changes made to 63f67f30bd.
2011-02-07 14:50:17 +01:00
Brian Atkinson 1d1c18890f Fix a conditional bug: if the remote end supports pipe throttling, make
sure to use the right type of pipe window.
2011-02-05 13:30:10 -06:00
Jerome Lacoste 58166dfb2b Merge remote branch 'upstream/master'
Reapplied 329a020188

Conflicts:
	core/src/main/java/hudson/widgets/HistoryWidget.java
2011-02-05 07:38:58 +01:00
Kohsuke Kawaguchi 758aedf885 Merge commit 'c628bdd32be8fdf0f663b373836585498e1ecaa1'
* commit 'c628bdd32be8fdf0f663b373836585498e1ecaa1':
  First pass at a fix for JENKINS-8592.
2011-02-04 20:07:39 -08:00
Kohsuke Kawaguchi 73a8007d43 [JENKINS-8592] let the writer end know if the reader end of the pipe
failed.
2011-02-04 20:06:53 -08:00
Brian Atkinson c628bdd32b First pass at a fix for JENKINS-8592.
The problem is that the sending side has no way of knowing when the
receiving side has hung up. So when the receiving side hangs up we should
be able to read till the stream runs out, then close. Not the optimal
solution, but one that should work for now.

http://issues.jenkins-ci.org/browse/JENKINS-8592
2011-02-04 18:46:04 -06:00
Jerome Lacoste 020a4ee92a JENKINS-8686 IO stream copies are not done properly.
Some more work:
* reviewed some callers
* took note that some classes have been moved into stapler
* used IOUtil.closeQuietly() in a few places
2011-02-04 15:34:26 +01:00
Jerome Lacoste bfbaf2c9d9 JENKINS-8686 IO stream copies are not done properly.
First pass at making sure we don't stop copying when the reader reads 0 characters.

I will now also review the callers for our internal code, and check if we can use IOUtils methods instead.
2011-02-04 15:34:07 +01:00
Jerome Lacoste a41c87192d JENKINS-7836 tentative fix for the copy from slave to master issues. The problem looks similar to JENKINS-7745, so we might as well synchronized the ProxyInputStream. 2011-02-03 23:04:36 +01:00
Jerome Lacoste 31b8361d31 JENKINS-7836 tentative fix for the copy from slave to master issues. The problem looks similar to JENKINS-7745, so we might as well synchronized the ProxyInputStream. 2011-02-03 14:07:18 +01:00
Kohsuke Kawaguchi 5c91eb1fe5 ProxyOutputStream was not thread safe even though it often gets used by multiple threads, for example when you launch a remote process with the same stdout/stderr. 2011-02-02 09:41:40 -08:00
Kohsuke Kawaguchi b80121a17a the trunk is toward 1.397 2011-01-31 19:17:54 -08:00
Kohsuke Kawaguchi 3a1447ea9a Updating the URL. 2011-01-30 23:44:52 -08:00
Kohsuke Kawaguchi 5bd0b98986 Updated groupId to org.jenkins-ci 2011-01-30 13:18:06 -08:00
Kohsuke Kawaguchi 68ed742227 [FIXED HUDSON-5055] allow the same JNLP slave to reconnect without getting rejected. 2011-01-24 13:40:59 -08:00
Kohsuke Kawaguchi 8c9b04bc3a the trunk is toward 1.396-SNAPSHOT 2011-01-19 20:51:30 -08:00
Kohsuke Kawaguchi f92550e70c the trunk is toward 1.395-SNAPSHOT 2011-01-12 18:53:31 -08:00
Kohsuke Kawaguchi 0a3f6c08b4 the trunk is toward 1.394-SNAPSHOT 2011-01-05 22:22:32 -08:00
Kohsuke Kawaguchi 55190056f3 the trunk is toward 1.393-SNAPSHOT 2010-12-30 00:08:48 -08:00
Seiji Sogabe df9db0af0e Removed unused import. 2010-12-29 21:33:59 +09:00
Seiji Sogabe c85e60f14e Sorry my mistake. 2010-12-24 22:19:10 +09:00
Kohsuke Kawaguchi 226b35c26c the trunk is toward 1.392-SNAPSHOT 2010-12-23 10:25:03 -08:00
Kohsuke Kawaguchi 3cb0434d2e the trunk is toward 1.391-SNAPSHOT 2010-12-15 20:51:46 -08:00