'how to install Java package on a remote windows machine using jenkins?

I need to connect my Jenkins to remote server as well. I have tried with agent slave method, but not working. Any Suggestion will be appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source