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. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1470277332088-4832207.post%40n4.nabble.com. For more options, visit https://groups.google.com/d/optout.