【发布时间】:2014-04-03 05:39:21
【问题描述】:
我在 windowsxp 环境中安装了 jenkins 和 websphere。每当我尝试运行构建步骤以调用 WAS 部署程序插件以通过 wsadmin 部署 application.ear 时,我都会收到以下错误。
Building in workspace C:\.jenkins\jobs\websphereantdeploy\workspace
Using user admin defined at the build step level
$ C:\Program Files\IBM\WebSphere\AppServer\bin\wsadmin.bat -conntype SOAP -host localhost -port 9080 -user admin -password ******** -lang jacl -f c:/workspace/ex5.jacl C:/workspace/revision_document/build/ant/riversource.ear karanvmxpNode01
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Build step 'IBM WebSphere Application Server 6.x/7.x' marked build as failure
Finished: FAILURE
知道如何在 jenkins 中更改 wsadmin 的路径以指定 PROGRA~1 而不是程序文件,因为我认为这可能是这里的问题。如果我错了,请纠正我
【问题讨论】: