mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 04:52:20 +00:00
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
This commit is contained in:
1 parent
1975758166
commit
2e13eb03dd
10 files changed
+20
-11
No files matched your search
@@ -44,7 +44,7 @@ public class LauncherTest extends ChannelTestCase {
|
||||
|
||||
try {
|
||||
FilePath f = new FilePath(french, tmp.getPath());
|
||||
Launcher l = f.createLauncher(new StreamTaskListener(System.err));
|
||||
Launcher l = f.createLauncher(StreamTaskListener.fromStderr());
|
||||
Proc p = l.launch().cmds("sh", "-c", "echo $$$$ > "+tmp+"; sleep 30").stdout(System.out).stderr(System.err).start();
|
||||
while (!tmp.exists())
|
||||
Thread.sleep(100);
|
||||
|
||||
Reference in new issue
Block a user