Jenkins running as a service on Windows does not have access to the desktop by default.
Jenkins running from the desktop using `java -jar jenkins.war` from a Windows command prompt will have access to the desktop. If you want to run Jenkins as a service and access the desktop, you should probably provide agents which are started from a desktop Windows environment so that they have full access to the desktop. On Fri, Mar 20, 2020 at 11:36 AM raviraj shitole <[email protected]> wrote: > Hi All, > > > > I am a difficulty with the way Jenkins is being installed. > > > > When we install Jenkins as Server, I am facing difficulty in test > automation. The browser doesn’t launch and it gives error that some DevSH > tool is missing. > > > > Now when I start Jenkins Jenkins.war, there is no problem with the test > execution. > > > > > > Can someone please let me know the difference between Jenkins as service > and Jenkins.war? And also how to solve the error with Jenkins as a service. > > > > Awaiting your Response. > > > > -Regards, > > Raviraj > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.
