Hello All,

I created a custom batch file that extends from BatchFile.  I have to read 
the error log of the custom BatchFile execution. How do I do it?

ProcStarter procStarter = 
launcher.launch().cmds(buildCommandLine(script)).envs(envVars).stdout(listener).pwd(ws);

int r = join(procStarter.start());

if (r == 1){

//TODO:Check the error log and decide on next steps

}

Thank you in advance!


-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/5adf92a5-e31b-4caf-aee3-8e87f2e2b2a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to