Jenkins.war and Jenkins as service

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins.war and Jenkins as service

raviraj shitole

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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

Mark Waite-2
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

raviraj shitole
I am getting an error "WMI access denied error" while trying to install the Slave agent as a service on windows.

what should we do now?

On Fri, Mar 20, 2020 at 11:47 PM Mark Waite <[hidden email]> wrote:
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

Mark Waite-2
See  https://github.com/kohsuke/winsw/issues/210 for some suggestions to try

On Mon, Mar 23, 2020 at 11:32 AM Raviraj Shitole <[hidden email]> wrote:
I am getting an error "WMI access denied error" while trying to install the Slave agent as a service on windows.

what should we do now?

On Fri, Mar 20, 2020 at 11:47 PM Mark Waite <[hidden email]> wrote:
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

raviraj shitole
Hi Mark,

Thank you was able to install the agent as a service, but now when i execute the tests chrome browser is not visible on the desktop. The process starts in the background and exits. 
How do i make the browser visible now?

Thanks
Raviraj

On Mon, Mar 23, 2020 at 11:25 PM Mark Waite <[hidden email]> wrote:
See  https://github.com/kohsuke/winsw/issues/210 for some suggestions to try

On Mon, Mar 23, 2020 at 11:32 AM Raviraj Shitole <[hidden email]> wrote:
I am getting an error "WMI access denied error" while trying to install the Slave agent as a service on windows.

what should we do now?

On Fri, Mar 20, 2020 at 11:47 PM Mark Waite <[hidden email]> wrote:
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtcN0syKuTiVrQPLjb-ht2xfGpLNUYcv%2BcVg_dTUHE1SiQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

Björn Pedersen


Am Dienstag, 24. März 2020 08:13:10 UTC+1 schrieb raviraj shitole:
Hi Mark,

Thank you was able to install the agent as a service, but now when i execute the tests chrome browser is not visible on the desktop. The process starts in the background and exits. 
How do i make the browser visible now?

Don't  run the agent as a service. 
 
 service -> no desktop access, so no windows visible
not service -> desktop access 
 
Thanks
Raviraj

On Mon, Mar 23, 2020 at 11:25 PM Mark Waite <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mark.e...@...> wrote:
See  <a href="https://github.com/kohsuke/winsw/issues/210" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fkohsuke%2Fwinsw%2Fissues%2F210\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEHwAhzRMrbj89avGzR8nnCJbMJcw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fkohsuke%2Fwinsw%2Fissues%2F210\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEHwAhzRMrbj89avGzR8nnCJbMJcw&#39;;return true;">https://github.com/kohsuke/winsw/issues/210 for some suggestions to try

On Mon, Mar 23, 2020 at 11:32 AM Raviraj Shitole <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sravi...@...> wrote:
I am getting an error "WMI access denied error" while trying to install the Slave agent as a service on windows.

what should we do now?

On Fri, Mar 20, 2020 at 11:47 PM Mark Waite <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mark.e...@...> wrote:
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sravi...@...> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com.

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="i9nlpzuZBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e8160d9e-f88f-43a7-b57d-9befbb7b5e45%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

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.

On Tue, Mar 24, 2020 at 2:18 PM 'Björn Pedersen' via Jenkins Users <[hidden email]> wrote:


Am Dienstag, 24. März 2020 08:13:10 UTC+1 schrieb raviraj shitole:
Hi Mark,

Thank you was able to install the agent as a service, but now when i execute the tests chrome browser is not visible on the desktop. The process starts in the background and exits. 
How do i make the browser visible now?

Don't  run the agent as a service. 
 
 service -> no desktop access, so no windows visible
not service -> desktop access 
 
Thanks
Raviraj

On Mon, Mar 23, 2020 at 11:25 PM Mark Waite <[hidden email]> wrote:
See  https://github.com/kohsuke/winsw/issues/210 for some suggestions to try

On Mon, Mar 23, 2020 at 11:32 AM Raviraj Shitole <[hidden email]> wrote:
I am getting an error "WMI access denied error" while trying to install the Slave agent as a service on windows.

what should we do now?

On Fri, Mar 20, 2020 at 11:47 PM Mark Waite <[hidden email]> wrote:
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e8160d9e-f88f-43a7-b57d-9befbb7b5e45%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtePE0wiXS50OrNxvv%2BZdNOVZyuYC-snbgXsSGaDfg0ufA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

Björn Pedersen


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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

raviraj shitole
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtdTRy5dEFOZ0vZo7AYPQibc8LNFPuLP-kDf0TcSxodVbg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

AW: Jenkins.war and Jenkins as service

Joachim Kuhnert

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: [hidden email] <[hidden email]> Im Auftrag von Raviraj Shitole
Gesendet: Dienstag, 24. März 2020 10:50
An: [hidden email]
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtdTRy5dEFOZ0vZo7AYPQibc8LNFPuLP-kDf0TcSxodVbg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c303cba641b742e984697562086565b3%40piketec.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins.war and Jenkins as service

raviraj shitole
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 <[hidden email]> 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: [hidden email] <[hidden email]> Im Auftrag von Raviraj Shitole
Gesendet: Dienstag, 24. März 2020 10:50
An: [hidden email]
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtdTRy5dEFOZ0vZo7AYPQibc8LNFPuLP-kDf0TcSxodVbg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c303cba641b742e984697562086565b3%40piketec.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtfSAzXogQfe1XBTOoiYfeQyPDu35ETozfjc9aoCTjtnhw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

RE: Jenkins.war and Jenkins as service

Jérôme Godbout

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: [hidden email] <[hidden email]> On Behalf Of Raviraj Shitole
Sent: March 24, 2020 12:35 PM
To: [hidden email]
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 <[hidden email]> 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: [hidden email] <[hidden email]> Im Auftrag von Raviraj Shitole
Gesendet: Dienstag, 24. März 2020 10:50
An: [hidden email]
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 <[hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/670b445f-28c5-426a-aec4-dd149f1a90a2%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtdTRy5dEFOZ0vZo7AYPQibc8LNFPuLP-kDf0TcSxodVbg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c303cba641b742e984697562086565b3%40piketec.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtfSAzXogQfe1XBTOoiYfeQyPDu35ETozfjc9aoCTjtnhw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/YQXPR01MB322245B32090EDB5A6F21489CDF10%40YQXPR01MB3222.CANPRD01.PROD.OUTLOOK.COM.