Jesse Glick
58484bb80c
[FIXED JENKINS-15733] ArrayIndexOutOfBoundsException from Launcher due to misinterpretation of ProcStarter.envs in f5cebdc.
...
(Should this field be made a [LinkedHash]Map<String,String> or even EnvVars?
It is protected in a final class, so effectively package-private, thus not a b/w compat issue.)
2012-11-07 16:36:05 -05:00
Christoph Kutzinski
0ccc076b40
fixed some compiler warnings
2011-07-24 10:38:52 +02: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
2e13eb03dd
Added a convenience method to reduce the invocation of a deprecated method.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30806 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-07 18:23:26 +00:00
kohsuke
8269a73476
clean up the tmp file after a test
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24667 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-17 01:01:54 +00:00
kohsuke
ebfa6a0e2d
the test is still failing. adding more delay
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23556 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-07 00:51:39 +00:00
kohsuke
d4f345f98e
Maven picks up *Test, so renaming
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23554 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-07 00:49:57 +00:00
kohsuke
bae8b35c8f
refactored the commonality out
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23552 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 23:22:44 +00:00
kohsuke
8fcda35317
Future.cancel is asynchronous, so it can return before the process is actually killed
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23551 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 23:20:06 +00:00
kohsuke
7816b82f10
Hudson on Hudson finds this test brittle, so changing the way the test works.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23547 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 22:27:05 +00:00
kohsuke
61d341e21d
assertNotSame would box them, so it won't achieve the intended test
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23545 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 22:14:43 +00:00
jglick
ebb5800937
Tweaking license text.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23528 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 18:39:49 +00:00
jglick
6ccad2bc32
[FIXED HUDSON-4611] hudson.proc.RemoteProc.kill() was a no-op.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23526 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-06 18:34:11 +00:00