Re: Finding the master workspace from within a Java plugin (pipeline)

2018-08-14 Thread Baptiste Mathus
Better ask that kind of question on the -dev mailing list IMO.

Cheers

Le mar. 7 août 2018 à 22:07, Tal Yanai  a écrit :

> Hi,
>
> As the perform section is running from within the Master, while the
> workspace retrieved by envVars.get("WORKSPACE") is from the slave host, I'm
> having hard time persisting some data into the workspace at the master
> location.
>
> Is there a way to find out what is the workspace of the master?
>
> Thanks,
>
> Tal.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/a21ecdbf-6681-49f9-8a39-591f00078c18%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6E4kjApsTY1MG0s_r5bp6erzMcobmMqzSHOyfe1A040A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Finding the master workspace from within a Java plugin (pipeline)

2018-08-07 Thread Tal Yanai
Hi,

As the perform section is running from within the Master, while the 
workspace retrieved by envVars.get("WORKSPACE") is from the slave host, I'm 
having hard time persisting some data into the workspace at the master 
location.

Is there a way to find out what is the workspace of the master?

Thanks,

Tal.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a21ecdbf-6681-49f9-8a39-591f00078c18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.