| Some additional updates to this as discussions have been had in various PRs. Devin Nusbaum created https://github.com/jenkinsci/credentials-plugin/pull/103 which improved upon my changes in https://github.com/jenkinsci/credentials-plugin/pull/97 and included all the requested changes in that PR. Would anyone be able to look at that and see if that ticks all the boxes to merge please? Additionally I have just found out about https://issues.jenkins-ci.org/browse/JENKINS-50984 which led to a PR being merged against the ssh-slaves plugin to be able to selectively disable the tracking of credentials for slave launching: https://github.com/jenkinsci/ssh-slaves-plugin/pull/94 . This would possibly be able to eliminate the issue I raised here, but is a very broad brush and appears to remove all of the tracking of the credentials for slave launching, i.e. not limited to cloud connections where the slaves are not re-used. I am going to test that and see if it helps my situation. That update hasn't made it's way to the download site yet though, so I'll have to grab the latest built version from the Jenkins build server. |