How to configure Jenkins StarTeam plugin?

此生再无相见时 提交于 2019-12-17 17:04:43

问题


Jenkins (Hudson) has StarTeam plugin. How to configure it properly?

I have installed this plugin but when I build the project I get this error:

java.lang.NoClassDefFoundError: com/starbase/starteam/Folder

Machine is Windows Server 2008. I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.


回答1:


There is a hint on plugin documentation page:

The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.

Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.


If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:

Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.



来源:https://stackoverflow.com/questions/5163763/how-to-configure-jenkins-starteam-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!