Hi,

I am having an issue with configuring the Jenkins Team Foundation Server 
Plugin-in. When I go to Manage Jenkins->Configure System and enter the 
Collection URL (http://tfs:8080/tfs/DefaultCollection) along with the 
credentials, I get the following error:

*"java.lang.UnsatisfiedLinkError: 
com.microsoft.tfs.jni.internal.platformmisc.NativePlatformMisc.nativeGetEnvironmentVariable(Ljava/lang/String;)Ljava/lang/String"*

if I hit TEST CONNECTION, the error changes to:

*"java.lang.NoClassDefFoundError: Could not initialize class 
com.microsoft.tfs.core.config.persistence.DefaultPersistenceStoreProvider"*

I have the following environment:

Jenkins: *v2.164.2*
OS: *Windows 2012 R2*
Server: *Apache Tomcat 8.0.14*
JDK: *1.8.0_211*
Jenkins TFS Plugin Version: *5.142.0*
*TFS 2015*

On the Github TFS Plugin (https://github.com/jenkinsci/tfs-plugin), it has 
the following information about the plugin:

*"4.0.0 and later (New!)*
*Ever since release 4.0.0, a command-line client or tool is no longer 
necessary as all the interaction with TFS or Team Services is done using 
the TFS SDK for Java. The native libraries needed by the SDK are 
automatically copied to a sub-directory under the agent user's home 
folder."*

Is the issue I am experiencing perhaps due to the fact that the SDK is not 
being properly copied by the plugin?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/735b84f6-64bc-409b-b949-be84af06b08b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to