【发布时间】:2014-09-04 05:09:45
【问题描述】:
尝试在 Jenkins 中执行构建时出现以下错误:
Started by user anonymous
Building in workspace C:\Users\mryan\git\AML
[AML] $ cmd /c call C:\Users\MRYAN~1.ASA\AppData\Local\Temp\hudson3772834793680550098.bat
C:\Users\mryan\git\AML>asc-tree -v cs1 .
Array @filter_prune missing the @ in argument 1 of push() at C:\asc\asc\win2k/asc-tree. line 293.
asc-tree.: ASC (=Z:\asc) is not a directory!
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
当我打开一个普通的命令提示符并运行相同的命令 (asc-tree -v cs1 .) 时,它可以正常工作。
我查看了 here 并尝试在我的环境变量中使用 UNC 表示法而不是“Z:\”,但这只是给了我与机器名称而不是驱动器相同的错误。
我还尝试更改服务以使用我的帐户登录详细信息而不是“本地系统帐户”,但似乎没有这样做。
有人有什么想法吗??
【问题讨论】:
标签: jenkins drive-mapping