That works the samen with the jobDSL as it works with manual configuration.
- You add a Jenkins slave (node) to the Jenkins Master configuration
(https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines)
- Define a "label" to bind that slave to
- And in your job config in the jobdsl you also define that same label
(https://github.com/jenkinsci/job-dsl-plugin/blob/master/docs/Job-reference.md#label)
That's it :)
/Patrick
On 28-08-14 21:34, Bastian Kuberek wrote:
You received this message because you are subscribed to the Google
Hi,
I am trying to build a project in a slave but I don't know how to do
that from the dsl. I am able to git pull and build on the master, but I
would like to move the build to a slave.
Any help on that will much appreciated.
Thanks
--
Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to job-dsl-plugin+unsubscribe@googlegroups.com
<mailto:job-dsl-plugin+unsub...@googlegroups.com>. <mailto:job-dsl-plugin@googlegroups.com>.
--To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/5401C91D.3030205%40gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "job-dsl-plugin" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/job-dsl-plugin/kwankR4SJTQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to job-dsl-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.
That works the samen with the jobDSL as it works with manual configuration.
- You add a Jenkins slave (node) to the Jenkins Master configuration
(https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines)
- Define a "label" to bind that slave to
- And in your job config in the jobdsl you also define that same label
(https://github.com/jenkinsci/job-dsl-plugin/blob/master/docs/Job-reference.md#label)
That's it :)
/Patrick
On 28-08-14 21:34, Bastian Kuberek wrote:
>
>
> Hi,
>
> I am trying to build a project in a slave but I don't know how to do
> that from the dsl. I am able to git pull and build on the master, but I
> would like to move the build to a slave.
>
> Any help on that will much appreciated.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "job-dsl-plugin" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to job-dsl-plugi...@googlegroups.com
> <mailto:job-dsl-plugin+unsub...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/993c9c52-36f8-4a5e-9733-4fc5d95cc844%40googlegroups.com.