jenkinsci / jenkins-test-harness

Unit test framework for Jenkins core and its plugins
https://www.jenkins.io/doc/developer/testing/
MIT License
109 stars 126 forks source link

Decouple `InboundAgentRule.Options.name` from `-jnlpUrl` #823

Closed jglick closed 1 month ago

jglick commented 1 month ago

For some purposes in CloudBees CI it is necessary to run multiple agent processes with the same -name. This was not possible because InboundAgentRule.start presumed that the Options.name was in fact the URL component of the deprecated -jnlpUrl, and also treated Options.name as a unique key for purposes of process management.