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: jenkinsci-users@googlegroups.com <jenkinsci-users@googlegroups.com> On 
Behalf Of Raviraj Shitole
Sent: March 24, 2020 12:35 PM
To: jenkinsci-users@googlegroups.com
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 
<joachim.kuhn...@piketec.com<mailto:joachim.kuhn...@piketec.com>> 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: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> 
<jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>> Im 
Auftrag von Raviraj Shitole
Gesendet: Dienstag, 24. März 2020 10:50
An: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
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 
<jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>> 
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/YQXPR01MB322245B32090EDB5A6F21489CDF10%40YQXPR01MB3222.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to