I installed jenkins on Windows 7 machine as service.My application should open up GUI which is not coming.When I ran jenkins as war from cmd then application worked as expected with GUI also coming up which didn't happen from Jenkins service. I checked the option "Allow interaction with desktop" but it also was of no use. Please suggest the option to run GUI application from Jenkins service on Windows 7.
Asked
Active
Viewed 2,228 times
1 Answers
1
As Jenkins is running as a service, your GUI will be launched in a background process by your Jenkins job.
You won't be able to view it even if you choose the "Allow interaction with desktop"...

Bruno Lavit
- 10,184
- 2
- 32
- 38
-
is there any way to open GUI with Jenkins installed as service? – Akanksha Singh May 21 '15 at 09:56
-
Can't you run the war and the jenkins home page on the web browser in the same batch script ? like java war - ... start http://localhost:8080 ? – Anuja Lamahewa May 21 '15 at 11:22
-
About your question for the GUI with the Windows service, it's not possible :( – Bruno Lavit May 21 '15 at 11:53
-
Maybe you can have a look to this post: http://stackoverflow.com/questions/30707457/jenkins-cannot-run-firefox – Bruno Lavit Jun 08 '15 at 13:48