It is a follow-up to https://github.com/jenkinsci/jenkins/pull/2658. JENKINS-40286 allows SlaveComputers to change the way the JnlpMac is generated, however ideally any AccessControlled could change override the default behavior.
Comment from oleg_nenashev
> I would rather introduce a new interface like JNLPMacProvider with getJnlpMac(). In such case other AccessControlled items will be also able to tweak the logic by implementing this interface. Maybe deserves a follow-up JIRA ticket
- is related to
-
JENKINS-40286 EncryptedSlaveAgentJnlpFile should use SlaveComputer.getJnlpMac() instead of reimplementing it
- Resolved