Are you referring to an action that implements the Action interface? Or to a post build publisher that derives from Recorder or Publisher?
The latter one can execute Runnables on a slave, e.g. to read information from the workspace. See FilePath#act for details... > Am 01.10.2015 um 08:25 schrieb Paul Wellner Bou <[email protected]>: > > Good morning, > > I have a build job checking out a git repository running on a jenkins slave, > which works fine. But I am trying to access the workspace in an Post-build > Action plugin, which does not seem to be possible: The Post-build Action is > run on the master (at least thats what the System.getenv("HOSTNAME") is > telling me. > > Is there any way to run the Post-build Actions on the slave? > > Thank you and regards > Paul. > > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/fe2bda4d-a374-4b04-b720-5702c4586e2b%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/fe2bda4d-a374-4b04-b720-5702c4586e2b%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/9A91F3C4-F8DA-4D10-9693-77AF5ADF7B35%40gmail.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
