Unable to use winrm with Jenkins

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

Unable to use winrm with Jenkins

delrocq.mathieu
Hello,

We are developing a Jenkins plugin that creates Windows agents on which builds can be performed. We are using winrm4j as a library to run Powershell commands, https://github.com/cloudsoft/winrm4j. And openjdk 11.0.8.10-2.

However, we can't connect to Jenkins from a remote Windows machine due to following error Provider com.sun.xml.internal.ws.spi.ProviderImpl not found.

The connection test is working with Junit but once with Jenkins it won't work.

Chris created a detailed explanation of the issue, here it is https://stackoverflow.com/questions/64374224/jenkins-connection-failure-when-trying-to-connect-via-java-library.

Any help would help a lot.

 

Kind regards,

 

Mathieu & Chris

--
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/07721a9b-5a3d-42c3-a452-9f1600247be0n%40googlegroups.com.