I am having a lot of trouble trying to get Jenkins to pull from Visual Source Safe. The problem is I am on a 64 bit system with 64 bit java, and the com4j dll that comes with the plugin is 32 bit.
I keep getting this error:
FATAL: D:\Jenkins\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
java.lang.UnsatisfiedLinkError: D:\Jenkins\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
1. download zip and extract com4j-amd64.dll
2. replace the com4j.dll in the lib folder of the VSS plugin directory
3. Do regsvr32 on the new dll
Those steps lead me to a new error that I can't find any information about :
[history] Unable to open database C:\Program Files (x86)\Microsoft Visual Studio\VSS\srcsafe.ini
hudson.util.IOException2: com4j.ComException: 80040154 CoCreateInstance failed : Class not registered : .\com4j.cpp:153
The error seems to indicate that I didn't register the com4j dll, but I made sure I navigated to the sysWOW64 folder and called the the regsvr32.exe on the new com4j.dll . I tried keeping the dll with the amd64 and renaming it to just com4j.
A bunch of information out there claims this problem is resolved by running jenkins on a 32 bit version of java, But I tried implementing this and it did not work for me, as it broke too many other things on the server.
Thank you for your time