On Mon, Feb 11, 2019 at 6:24 PM Andrew Finley <[email protected]> wrote: > The problem exists with 'Jenkins.getInstance()' in > 'fetchStringCredentials()'. This will return 'null' if it's not run on the > master Jenkins instance. Is there a way to access credentials stored in the > Credentials > plugin when running on a slave node?
No, which is why you should look up the secret in the master-side code, and then include that in a serializable field in your `MasterToSlave[File]Callable`. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2wLAwW8XhM%3DgSRYvVCu6ou95bzAwOY-sxZoV9QySB29g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
