Hello All,

I have a similar issue after I upgraded to LTS 1.580.3.  We would run our 
callable code either in Master or Slave.

Instead of using Callable, I am using MasterToSlaveCallable now. It was 
mentioned in the comments 
(https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/security/MasterToSlaveCallable.java
 
) that  :

*"Convenient {@link Callable} meant to be run on slave.". *

May I know if I use MasterToSlaveCallable class, will my callable could be 
run in both Master and Slave?

Kindly help me !

Thanks.


On Saturday, March 7, 2015 at 12:58:37 AM UTC+5:30, Jesse Glick wrote:
>
> On Fri, Mar 6, 2015 at 11:59 AM, 'Julien HENRY' via Jenkins Developers 
> <jenkin...@googlegroups.com <javascript:>> wrote: 
> > I don't know where is executed the "perform" method. 
>
> Always on the master. Anything the slave does happens via the remoting 
> channel, though this is typically hidden from you by FilePath and 
> Launcher. 
>

-- 
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/7845c645-de08-4cfc-80c0-e65ee1f9cdde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to