Hi all,

Easy one this but I just don't know the easiest / quickest way to do it.

Say i have this:

>
> buildRunner =  (launcher.isUnix() == true) ? new Shell(cmd) :  new 
> BatchFile(cmd);
> try {
> buildRunner.perform(build, launcher, listener);
> InputStreamReader isr = new InputStreamReader(build.getLogInputStream());
>         BufferedReader br = new BufferedReader(isr);
>         String line = null;
>         while((line = br.readLine()) != null)
>         {
>          retList.add(line);
>         }

But what i really want is only the output of the command i just run. 
What mechanism can i use to only get that?

Thanks,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to