I am looking at https://issues.jenkins.io/browse/JENKINS-70342, but I'm not sure how the "context" in CanonicalIdResolver is supposed to be used. The only thing I have seen in the docs is "Can be used (for example) to distinguish ambiguous committer ID using the SCM URL".
DefaultUserCanonicalIdResolver, User.FullNameIdResolver, User.UserIDCanonicalIdResolver ignore it; and I have not seen it used anywhere else, neither giving nor receiving a context. But I'm new here, there is no easy way to see all the implementations of CanonicalIdResolver in all the plugins, there is? The use of "idOrFullName" in resolveCanonicalId() also feels a bit overspecific? While you could call an email an "id", you could argue the same about a full name. I may be missing something here. Should the git plugin ask to resolve - "Full Name <m...@email.com>" - "Full Name" (this already works via User.FullNameIdResolver) - "m...@email.com" - Multiple of them, one after the other ? Should it use any "context" to say "this is an email"? And if so, there is any convention between different SCM plugins to say "email"? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAGUfO%2BzPg9i0UayyTB9Ay59rCNKGe0R%3DfSinu7P8_op%3DH10zzg%40mail.gmail.com.