Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to set the label names on the agents? #86

Open
Vermyndax opened this issue Feb 4, 2023 · 1 comment
Open

Any way to set the label names on the agents? #86

Vermyndax opened this issue Feb 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Vermyndax
Copy link
Contributor

We have a use case where we need to label the agents to route specific jobs via JenkinsFiles. Is there any way to do that with this module?

Thanks :)

@nmrad-91
Copy link
Collaborator

There is only a generic "swarm" label. The change would have to be to change init/agent-write-files.cfg. You have to change line 113. It is the code that starts up the swarm client and passes in the labels. The general idea is that all build agents should be the same. Supporting "types" of agents would make things tricky. I am not going to close this issue though. Let me think about it for a while.

@nmrad-91 nmrad-91 added the enhancement New feature or request label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants