Groups
Groups
Sign in
Groups
Groups
Jenkins Developers
Conversations
About
Send feedback
Help
Request for help to read from the the error log for Custom BatchFile
7 views
Skip to first unread message
Vinodhini Vijay
unread,
Aug 24, 2015, 9:23:39 AM
8/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Developers
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!
Reply all
Reply to author
Forward
0 new messages