Jenkins (Hudson)有 StarTeam plugin 。如何正确配置?
我已经安装了这个插件,但是当我构建项目时,我收到此错误:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
机器是Windows Server 2008。
我已将 StarTeam SDK 安装在 C:\Program Files (x86)\Borland\StarTeam SDK 10.4
文件夹中。
最佳答案
插件文档页面有提示:
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 下的文件夹),然后重新启动 Jenkins。
<小时/>如果出现“无法在 AMD 64 位平台上加载 IA 32 位 .dll”错误:
卸载 Windows x64 的 JRE(Java 运行时环境),安装 32 位版本的 JRE。
关于hudson - 如何配置 Jenkins StarTeam 插件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5163763/