If you run as service under Windows, you might want to change the user that use to run your services (log on) of the service. Use a user with a login desktop capability. The only downfall I see is when I ask the Jenkins to restart it always hang, I have to restart the service manually. Linux doesn’t have those issues.
From: [email protected] <[email protected]> On Behalf Of Raviraj Shitole Sent: March 24, 2020 12:35 PM To: [email protected] Subject: Re: Jenkins.war and Jenkins as service Okay... So which installation is most preferable? Jenkins as a service or jenkins.war. On Tue, Mar 24, 2020 at 9:47 PM Joachim Kuhnert <[email protected]<mailto:[email protected]>> wrote: As already mentioned by others the “problem” is the service environment. A service has no desktop and therefore cannot show any user interfaces including chrome. So as long as you run the Jenkins job in an service environment (on Jenkins master or agent installed as a service) you will never see the browser window. If you lunching Jenkins.war from command line you don’t run Jenkins as a service but with your current user which (may) has a desktop and therefore can show windows. Von: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Im Auftrag von Raviraj Shitole Gesendet: Dienstag, 24. März 2020 10:50 An: [email protected]<mailto:[email protected]> Betreff: Re: Jenkins.war and Jenkins as service Yes absolutely. But when jenkins is running as a war and i run the test, it shows the actions on the UI, but with Jenkins as service everything runs in the background. On Tue, Mar 24, 2020 at 3:04 PM 'Björn Pedersen' via Jenkins Users <[email protected]<mailto:[email protected]>> wrote: Am Dienstag, 24. März 2020 10:26:23 UTC+1 schrieb raviraj shitole: Actually its an organization wide setup which is done as a service(Jenkins is installed as a service on Ubuntu) That's the reason i am trying to connect it that way. Everything is working fine, even the chrome browser is launched in the background. The tests are some how executed but it not visible. Everything happens in the background. That is the whole idea behind using Jenkins, automated testing without human intervention. To develop and debug a test, just start it manually in your environment. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtdTRy5dEFOZ0vZo7AYPQibc8LNFPuLP-kDf0TcSxodVbg%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtdTRy5dEFOZ0vZo7AYPQibc8LNFPuLP-kDf0TcSxodVbg%40mail.gmail.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c303cba641b742e984697562086565b3%40piketec.com<https://groups.google.com/d/msgid/jenkinsci-users/c303cba641b742e984697562086565b3%40piketec.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtfSAzXogQfe1XBTOoiYfeQyPDu35ETozfjc9aoCTjtnhw%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtfSAzXogQfe1XBTOoiYfeQyPDu35ETozfjc9aoCTjtnhw%40mail.gmail.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/YQXPR01MB322245B32090EDB5A6F21489CDF10%40YQXPR01MB3222.CANPRD01.PROD.OUTLOOK.COM.
