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

14 views
Skip to first unread message

Tal Yanai

unread,
Aug 7, 2018, 3:07:52 PM8/7/18
to Jenkins Users
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.

Baptiste Mathus

unread,
Aug 14, 2018, 11:56:36 AM8/14/18
to jenkins...@googlegroups.com
Better ask that kind of question on the -dev mailing list IMO.

Cheers

--
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-use...@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.
Reply all
Reply to author
Forward
0 new messages