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
"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