I have created a job in Jenkins that will start and run my Final Builder Project on a slave machine.
The first action is to install my desired software. Even though I am running Final Builder silently, I should see the GUI pop up for the product that is installing. If I copy the same script into the command line, it runs correctly and I see the GUI pop up to install the desired software.
When I run the Jenkins job, I don’t see any GUI open on the slave machine. I open the task manager and I see final builder open and running and I even later see the product has installed, but I can’t seem to get the GUI’s to open on the desktop. I need the GUI because I am running automated tests with the GUI of the desired software to simulate user experience.
I made sure that the Jenkins service is running as the username I am logged into the machine with. I also made sure to check the interact with desktop option with the username.
thanks
It has something to do with the Interactive Services Detection.
If I go into the registry in HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows
I find NonInteractiveServices and change the setting from 1 to 0, this gives me a message when the GUI is to pop up on the desktop. When I click the ‘view message’ button, I see the GUI for ArcGIS Pro installing.
Not sure how, but is there a way to get around this setting, so the GUI just pops up?
Windows services do not have a windows desktop, so any processes they spawn will not be visible to the logged in user. You would need to run your slave as a normal application when logged in (I have no idea if this is possible with Jenkins).