Workspace directory location for a pipeline!!!

55 views
Skip to first unread message

ok999

unread,
Feb 18, 2016, 12:13:56 AM2/18/16
to Jenkins Users
The workspace of a pipeline/workflow is weird. Its not the usual path on the slaves but rather on the master inside the jobs directory. Is this the way how it should be?

Christopher Orr

unread,
Feb 21, 2016, 10:44:37 AM2/21/16
to jenkins...@googlegroups.com
Generally you shouldn't care where on the build machine the workspace is
created.

With Pipeline, a workspace directory is allocated automatically when you
use the `node` step. If you want to do work within a workspace on a
build slave, you need to make sure you're specifying that machine as an
argument to the `node` step.

If that doesn't help, it would be helpful to see a concrete example of
what your pipeline looks like and what you expect to see.

Regards,
Chris
Reply all
Reply to author
Forward
0 new messages