如何配置Jenkins StarTeam插件? [英] How to configure Jenkins StarTeam plugin?
问题描述
Jenkins(Hudson)具有 StarTeam插件.如何正确配置它?
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
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
计算机是Windows Server 2008.
我在C:\Program Files (x86)\Borland\StarTeam SDK 10.4
文件夹中安装了StarTeam SDK.
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4
folder.
推荐答案
插件文档页面上有提示:
There is a hint on plugin documentation page:
该插件需要Hudson的类路径中的StarTeam SDK,StarTeam扩展和jsafe库.这些文件包含在可从Borland(Micro Focus)免费下载的StarTeam SDK软件包中,并且可以通过例如Windows XP安装.将它们放在Hudson的WEB-INF/lib目录中.
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.
将文件夹"C:\ Program Files(x86)\ Borland \ StarTeam SDK 10.4 \ Lib"复制到"C:\ Jenkins \ plugins \ starteam \ WEB-INF"(因此会有一个 Lib WEB-INF 下的/em>文件夹,然后重新启动Jenkins.
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.
如果出现"无法在AMD 64位平台上加载IA 32位.dll "错误:
卸载适用于Windows x64的JRE(Java运行时环境),安装32位版本的JRE.
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.
这篇关于如何配置Jenkins StarTeam插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!