Is there any way to post message from slave to Jenkins job console

21 views
Skip to first unread message

Hari Praswin

unread,
Dec 16, 2015, 1:50:12 AM12/16/15
to Jenkins Developers
Hi,

I'm in need of posting info about ongoing test plan and test case from slave to jenkins job console in order to see the clear progress of the build.

Is there any way to access jenkins job console from slave, if so please share your thoughts.

Thanks,
Ari

Robert Sandell

unread,
Dec 16, 2015, 5:35:42 AM12/16/15
to jenkin...@googlegroups.com
The TaskListener that is a part of the buildstep's perform method is transferable via remoting, so if you serialize it along with the command in workspace.act you can seamlessly write to the log from the slave.
The launcher will also write back the output of the command to the log.

/B

--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/22c22d54-c113-4ca4-b050-c950e6a60b38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.
Reply all
Reply to author
Forward
0 new messages