Hi all,

i am invoking a process using Launcher launcher .like below 

int res = 
launcher.launch().pwd(workspace).cmds(getCommand()).envs(env).stdout(listener).join();

However the process which i am running mirrors its stdout to stderr hence 
it prints twice on the jenkins console. 

I want to print only stderr() on jenkins console and not stdout() . We have 
*stdout(TaskListener)* which prints stdout() to jenkins console but How can 
i print stderr() on jenskins console because we done have anything like 
*stderr(TaskListener)*

Thanks & Regards
Nikhil 

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9ee7f56a-bbfd-410d-990b-a649f425b3db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to