Re: Unit tests fail in Jenkins, but pass everywhere else

2020-07-19 Thread Slide
Take a look at this article on how to enable a service to interact with the desktop. https://www.ibm.com/support/knowledgecenter/SSGR73_7.5.1/com.ibm.wci.live.doc/Secure_Connector/enablinginteractivemodeforwindowsservices.html On Sun, Jul 19, 2020, 09:58 TC wrote: > Yes, Jenkins is running as a

Re: Unit tests fail in Jenkins, but pass everywhere else

2020-07-19 Thread TC
Yes, Jenkins is running as a service. However, I have created a user account named Jenkins and I run the service on that account. I have verified that the Jenkins user account can run the unit tests successfully. I don't know what else is required to "give the service the ability to interact wi

Re: Unit tests fail in Jenkins, but pass everywhere else

2020-07-19 Thread Slide
Is your Jenkins running as a service? If it has to open Excel and is running as a service, this can be an issue. You need to give the service the ability to interact with the desktop. I believe this is in the service settings, but you can Google and find information if it is not right there. On Su

Unit tests fail in Jenkins, but pass everywhere else

2020-07-19 Thread TC
I am new to Jenkins. I installed it today on a Windows 10 computer to automatically build (using the MSBuild plugin) and run unit tests (using NUnit Console as a batch command) on my .NET solution. Almost everything works perfectly, but I have been unable to solve one frustrating problem, despi