RE: Jenkins.war and Jenkins as service

2020-03-24 Thread 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: 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 
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> 
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 
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 fro

Re: Jenkins.war and Jenkins as service

2020-03-24 Thread 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 
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 
> *Im Auftrag von *Raviraj Shitole
> *Gesendet:* Dienstag, 24. März 2020 10:50
> *An:* 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> 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.
> 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.
> 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.
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtfSAzXogQfe1XBTOoiYfeQyPDu35ETozfjc9aoCTjtnhw%40mail.gmail.com.


AW: Jenkins.war and Jenkins as service

2020-03-24 Thread 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: jenkinsci-users@googlegroups.com  Im 
Auftrag von Raviraj Shitole
Gesendet: Dienstag, 24. März 2020 10:50
An: 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 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c303cba641b742e984697562086565b3%40piketec.com.


Re: Jenkins.war and Jenkins as service

2020-03-24 Thread 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 <
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.
> 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 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.


Re: Jenkins.war and Jenkins as service

2020-03-24 Thread 'Björn Pedersen' via Jenkins Users


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


Re: Jenkins.war and Jenkins as service

2020-03-24 Thread 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 <
jenkinsci-users@googlegroups.com> 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  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 
>>> 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 
 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 
> 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 jenkins...@googlegroups.com.
>> 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 jenkins...@googlegroups.com.
> 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 jenkins...@googlegroups.com.
 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 jenkins...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com
>>> 
>>>

Re: Jenkins.war and Jenkins as service

2020-03-24 Thread 'Björn Pedersen' via Jenkins Users


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


Re: Jenkins.war and Jenkins as service

2020-03-24 Thread 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 
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 
> 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 
>> 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 
>>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
 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 jenkinsci-users+unsubscr...@googlegroups.com.
>>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtcN0syKuTiVrQPLjb-ht2xfGpLNUYcv%2BcVg_dTUHE1SiQ%40mail.gmail.com.


Re: Jenkins.war and Jenkins as service

2020-03-23 Thread Mark Waite
See  https://github.com/kohsuke/winsw/issues/210 for some suggestions to try

On Mon, Mar 23, 2020 at 11:32 AM Raviraj Shitole 
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 
> 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 
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7MeMWhGETdzVSntTrssSMnKD3QK9oAYKOMW1%2BS3Trgg%40mail.gmail.com.


Re: Jenkins.war and Jenkins as service

2020-03-23 Thread 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 
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 
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAFYbxtffph-5ZwFeX2Y1E8u7EMcwv9Xrow_6we0zK8ZNj8skdQ%40mail.gmail.com.


Re: Jenkins.war and Jenkins as service

2020-03-20 Thread Mark Waite
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 
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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEvJAjfk9CMvSFFvQ2sVGzbe4uRtdBpacJwa9n4oxAcvg%40mail.gmail.com.


Jenkins.war and Jenkins as service

2020-03-20 Thread 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e120511f-20b9-423f-bc37-d7639f856505%40googlegroups.com.