forked from openshift/jenkins-client-plugin
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Porting the current process launching approach to ClientCommandRunner
This PR ports the current process launching approach to ClientCommandRunner and use ClientCommandRunner in OcAction and OcWatch commands. ClientCommandRunner uses piped streams (FastPipedOutputStream and FastPipedInputputStream) to transfer output (stdout/stderr) of the remote process to Jenkins master, and leverages Apache Common IO's IOUtils.lineIterator to read the output line by line without reading fully to memory or disk files. Like the current implementation of OcWatch, this PR's implementation also relaunches the oc watch command when it returns 0.
- Loading branch information
1 parent
394ba97
commit ddac238
Showing
3 changed files
with
163 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.