我创建了一个与Jenkins进程一起运行的批处理文件, 当我在PC中的CMD中运行它运行正常, 但当我以Jenkins作为流程运行时,它会卡住,你可以看到:
"Building in workspace C:\Program Files (x86)\Jenkins\jobs\TARD Testing\workspace
No emails were triggered.
[workspace] $ cmd /c call C:\WINDOWS\TEMP\hudson5135873889105585615.bat
C:\Program Files (x86)\Jenkins\jobs\TARD Testing\workspace>cd C:\Program Files (x86)\Jenkins\jobs\Buildscripts
C:\Program Files (x86)\Jenkins\jobs\Buildscripts>call DAR.bat
C:\Program Files (x86)\Jenkins\jobs\Buildscripts>ן»¿echo off
'ן»¿echo' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\Jenkins\jobs\Buildscripts>C:\\EZcheck_ENV\\EZcheck_1_00\\test_engine.pyc
"C:\\EZcheck_ENV\\project\\login_script_dart.csv"
"C:\\Users\\alpha\\AppData\\Roaming\\DaRT\\results\\test_uzi_1.rst"
"C:\\Users\\alpha\\AppData\\Roaming\\DaRT\\variables"
"C:\\Users\\alpha\\AppData\\Roaming\\DaRT\\reports"
"C:\\Users\\alpha\\AppData\\Roaming\\DaRT\\temp" master
有人告诉我,这是因为我需要使用用户权限运行Jenkins进程, 你知道我是怎么做的,或者甚至是问题......?