I have a windows executable file, which will open an excel file to read data.
When I call it in the command line as administrator, like this
"G:\Jenkins\workspace\test\nls_tool.exe -xls Stringlist.xls 21",it works
will.
But when I call it through the jenkins build step, using "Execute windows
batch command" like this, "G:\Jenkins\workspace\test\nls_tool.exe -xls
Stringlist.xls 21", it cannot open the excel file successfully, and get a
fatal error: open worksheet failed.
I Install jenkins as a windows service, and in the property of this
service, "Login" tab, I choose "this account" and input the username and
password of administrator.
I also try to run nls_tool.exe by CPAU, and use the option -u administrator
in jenkins build step, but
the problem is still unsolved.
--
View this message in context:
http://jenkins-ci.361315.n4.nabble.com/Excel-file-tp4832207.html
Sent from the Jenkins users mailing list archive at Nabble.com.