- modified to use StaplerRequest, instead of HttpServletRequest.

- added BuildWrapper class for implementing #158. still very much experimental.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1192 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2006-11-19 22:33:18 +00:00
1 parent dcf56cbb9c
commit 856d15e4ef
14 files changed
+149 -12

No files matched your search

+11
View File
@@ -50,6 +50,9 @@ public final class Proc {
proc.getOutputStream().close();
}
/**
* Waits for the completion of the process.
*/
public int join() {
try {
t1.join();
@@ -62,6 +65,14 @@ public final class Proc {
}
}
/**
* Terminates the process.
*/
public void kill() {
proc.destroy();
join();
}
private static class Copier extends Thread {
private final InputStream in;
private final OutputStream out;