Re: Is slave machine needs Master server URL to build a job in Slave?

33 views
Skip to first unread message
Message has been deleted

Daniel Beck

unread,
Mar 30, 2015, 6:47:49 AM3/30/15
to jenkins...@googlegroups.com
Did you read https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds ?

On 30.03.2015, at 12:46, Parthiban S <spar...@gmail.com> wrote:

> For slave machine, we are using Master Server URL only, then whats the difference between Master and Slave machine. If we use master URL in Slave machine. Same page(master machine job) only display??
>
> --
> 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/2b552ee5-8c27-4555-882e-27830dd26c28%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Parthiban S

unread,
Mar 30, 2015, 8:07:21 AM3/30/15
to jenkins...@googlegroups.com
yes. Actually my question was " Is there any option to provide Slave machine URL in master job? I need a run a master job in slave machine with slave machine URl port.

Daniel Beck

unread,
Mar 30, 2015, 8:13:41 AM3/30/15
to jenkins...@googlegroups.com
That's not how slaves work.

You configure them globally (e.g. manually launched, or via SSH, ...), including the labels the slave has.

You assign jobs to them based on project label expressions. These are boolean expressions, and Jenkins chooses one of the nodes (slaves and master) whose labels satisfy the project label expression.
> --
> 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/8fe77497-01d0-4dbd-8c9c-558eb79e5108%40googlegroups.com.

Parthiban S

unread,
Mar 30, 2015, 8:29:25 AM3/30/15
to jenkins...@googlegroups.com
Can you tell me how to configure manually for provide Slave IP address in master's Job?

Richard Bywater

unread,
Mar 30, 2015, 2:11:24 PM3/30/15
to jenkins...@googlegroups.com

I'm not sure why you keep asking the same question over and over when you've received the answer twice now?

As Daniel has already pointed out that is not how slaves work in Jenkins - you assign labels to the slave and relevant job and then Jenkins runs the job on the node.

If that doesn't work for you then you are going to need to explain what you are doing that isn't working otherwise no one can help.

Richard.


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