Though I have selected node as 'master' for this step, the build job "test-build" gets triggered on some other slave node. Is this expected behavior?
Regards, Rupali
Jesse Glick
unread,
Jan 8, 2015, 12:52:09 PM1/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
On Tuesday, December 9, 2014 8:50:57 AM UTC-5, Rupali wrote:
node('master') { build 'test-build' }
Though I have selected node as 'master' for this step, the build job "test-build" gets triggered on some other slave node. Is this expected behavior?
Yes. The contextual node (if any) is ignored by the ‘build’ step. Whatever test-build specifies as its assigned label is where it will build.
(If you really need the workflow to decide where the downstream project should run, you could probably do this somehow with the node label parameter plugin. But I cannot think of any use case for that.)