[JIRA] (JENKINS-59978) Need ability to score Swarm nodes based on connectivity and user interaction

4 views
Skip to first unread message

jhanley@DGtlRift.com (JIRA)

unread,
Oct 29, 2019, 3:00:03 PM10/29/19
to jenkinsc...@googlegroups.com
James Hanley created an issue
 
Jenkins / New Feature JENKINS-59978
Need ability to score Swarm nodes based on connectivity and user interaction
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: swarm-plugin
Created: 2019-10-29 18:59
Environment: Jenkins ver. 2.176.3
on Ubuntu Bionic Beaver
Priority: Minor Minor
Reporter: James Hanley

We have a number of Swarm instances running on Windows machines, and having some ability for the Master Jenkins server to score which agent to use based on details like:

  • Is the Agent connected to Ethernet or WiFi (score Ethernet as preferred)
  • Is the User Interface locked (primary user is not utilizing the machine)
  • Other metrics that may fluctuate ie
    • Load
    • Disk space available
    • On corporate LAN (not VPN)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jhanley@DGtlRift.com (JIRA)

unread,
Oct 29, 2019, 3:01:02 PM10/29/19
to jenkinsc...@googlegroups.com

me@basilcrow.com (JIRA)

unread,
Oct 29, 2019, 3:29:03 PM10/29/19
to jenkinsc...@googlegroups.com
Basil Crow commented on New Feature JENKINS-59978
 
Re: Need ability to score Swarm nodes based on connectivity and user interaction

At first glance this doesn't problem seem specific to Swarm agents. Regardless of how an agent is attached to the master (be it through SSH, Swarm, Azure Container Agents, etc.) there exists the problem of how to map a build to an agent. Jenkins traditionally offers labels for this purpose, which are fairly flexible but don't include the features you described above. Doing some preliminary searching I see some plugins that claim to offer generic load balancing support, but some of them haven't been updated in years and I haven't tried any of them personally. Ultimately this might be a better question for the users list. If nobody there can suggest an existing plugin that meets your needs, it might be possible to write your own plugin (perhaps based on one of the two I linked above) that does.

me@basilcrow.com (JIRA)

unread,
Oct 31, 2019, 3:09:02 PM10/31/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages