Help for the Usage setting (in node configuration page) says:
*Only build jobs with label expressions matching this node*
In this mode, Jenkins will only build a project on this node when
that project is restricted to certain nodes using a label
expression, and that expression matches this node's name and/or labels.
So I read that as saying that a job which is not restricted to certain
nodes or labels will not run on a node which requires "Only build jobs
with label expressions matching this node".
-Eric
On 12/18/2018 12:12 AM, cyrilli1...@gmail.com wrote:
If this node used "Only build jobs with label restrictions matching
this node." option, so a job of don't restrict the job does it still
picking up this node?
在 2018年12月17日星期一 UTC+8下午10:37:58,Eric Pyle写道:
If you don't restrict the job, it will pick one of the available
nodes arbitrarily, and it doesn't matter whether it is the master
or a slave/agent. Once the job has run on a particular node, it
will remain there unless that node is unavailable at the time the
job starts. This is done to take advantage of any dependencies or
resources that may already be there from a previous run.
Generally, it is considered better to have jobs run on agents, and
let the master node just run Jenkins.
Regards,
Eric
On 12/17/2018 3:54 AM, cyril...@gmail.com <javascript:> wrote:
I have a job it's doesn't use "Restrict where this project can be
run" option, why doesn't it running on a master node, but running
on a slave node?
Jenkins ver. 1.625.1
Could you help me to know?
--
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 <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/1078c386-120f-40cc-b758-adbf1aa925aa%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/1078c386-120f-40cc-b758-adbf1aa925aa%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Eric Pyle
Siemens PLM Software
Lebanon, NH
+1 603-277-3060
eric...@siemens.com <javascript:>
http://www.siemens.com/plm
--
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-users+unsubscr...@googlegroups.com
<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8872918d-a1cf-44c3-bea7-32900c9b0173%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/8872918d-a1cf-44c3-bea7-32900c9b0173%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Eric Pyle
Siemens PLM Software
Lebanon, NH
+1 603-277-3060
eric.p...@siemens.com
http://www.siemens.com/plm
--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/c82f382c-0726-0c54-5636-9cf87b1153cc%40siemens.com.
For more options, visit https://groups.google.com/d/optout.