如何配置 Jenkins StarTeam 插件? [英] How to configure Jenkins StarTeam plugin?

查看:28
本文介绍了如何配置 Jenkins StarTeam 插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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)BorlandStarTeam SDK 10.4 文件夹中安装了 StarTeam SDK.

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

推荐答案

插件文档页面有提示:

该插件需要 Hudson 的类路径中的 StarTeam SDK、StarTeam 扩展和 jsafe 库.这些文件包含在 Borland (Micro Focus) 提供的可免费下载的 StarTeam SDK 包中,并且可以通过例如将它们放到 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)BorlandStarTeam SDK 10.4Lib"复制到C:JenkinspluginsstarteamWEB-INF"(这样就会有一个Lib 文件夹在 WEB-INF 下),然后重启 Jenkins.

Copy the folder "C:Program Files (x86)BorlandStarTeam SDK 10.4Lib" to "C:JenkinspluginsstarteamWEB-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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆