Unable to use Jenkins with WinRm

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Unable to use Jenkins with WinRm

Chris Bahonda

I am developing a Jenkins plugin that can build Windows agents on which builds can be performed. I am using WinRm4j as a library to run Windows commands, https://github.com/cloudsoft/winrm4j. I am using openjdk-

However, I am unable to connect to Jenkins from a remote Windows machine due to the following error Provider com.sun.xml.internal.ws.spi.ProviderImpl not found. The connection test is working on my IDE but once in Jenkins it is not.

Here is a more detailed explanation of the issue https://stackoverflow.com/questions/64374224/jenkins-connection-failure-when-trying-to-connect-via-java-library

Any help with that would help a lot.

Kind regards,


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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ab22f6c6-4776-4e61-b6c5-e369ea65aa22n%40googlegroups.com.