I’m not sure “workspace” is a field of “build”.
From: [email protected]
[mailto:[email protected]] On Behalf Of GS_L
Sent: Thursday, October 01, 2015 7:53 AM
To: Jenkins Users
Subject: Pass parent workspace in build flow
Hi
I have a build flow that runs several builds.
I want that all builds workspace will be under the parent workspace.
I pass the parent workspace through DSL:
The parent workspace is 'NightlyBuild'.
build("job1", parent_workspace:build.workspace)
In job1 - I changed the workspace by checking the 'Use custom workspace'
in 'Directory' I entered the $parent_workspace variable
Results:
The job1 workspace set to '/var/lib/jenkins/$parent_workspace/' instead of
'/var/lib/jenkins/NightlyBuild'.
Thanks
--
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
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/a1534aaa-604e-4a7d-973d-c084a28c2940%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/a1534aaa-604e-4a7d-973d-c084a28c2940%40googlegroups.com?utm_medium=email&utm_source=footer>.
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8675EB5%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.