Unable to open word document from jenkins

I have one windows utility which opens word document, extract data out of it and generate another word document using that data.

Now my problem is that this windows exe is working fine directly on command prompt, but if I call this exe through jenkins, i.e. build step “Execute windows batch command” it gives error, it is not able to open word document so utlity exists with error.

I have tried other options also like calling exe from pom file, and from batch file. every time it gives me same error. My tomcat service is running with the same user from which I am login to windows.

Any guidance on this topic will helpful.

Source: windows

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.