Node preference not working

31 views
Skip to first unread message

Rusty Sapper

unread,
Sep 8, 2021, 4:27:31 AM9/8/21
to jenkins...@googlegroups.com

I have several cloud templates defined, each pointing to a different physical node that can run our build containers.  I have several templates defined under each cloud(that spin up the build containers).  I have a common label defined on each template across the clouds.  I have defined a node preference score on each template.  However, now matter what I set the preference score to, Jenkins always uses the first cloud and template defined.  it will use that template until it reaches the instance cap. then moves to the next one.  This is not good utilization of the resources.  

  Should the node preference score be working?  is there any other way to control how Jenkins utilizes the container templates?

Linux installation. jenkins version 2.303.1 docker plugin version 1.2.3


thanks for any help.


-Rusty

Reply all
Reply to author
Forward
0 new messages