Re: WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-08-02 Thread Slide
It might be better to run the agent as a service under the specific account
you want it to run under. Is there a reason you can't do this?

On Fri, Aug 2, 2019 at 12:11 PM Nef Rey  wrote:

> The problem was that I was selecting the option to start the slave task
> whether the user was logged on or not. This option was blocked in our
> company policy.  Weird that slave acted as if everything was alright  but,
> misbehaved.  I had to select the option to start when the user was logged
> on.  And additionally I had to also specify the "Start in (optional)"
> option in the task so windows knows the path where to begin.
>
> On Tuesday, June 25, 2019 at 11:08:47 AM UTC-5, Nef Rey wrote:
>>
>> I have this very peculiar problem: When I launch the slave agent manually
>> by right clicking and select launch, everything works normally and tests
>> can be executed on that node.
>>
>> However, when I launch the slave-agent via Windows Task Scheduler,
>> Jenkins can see it and can launch tests on that node,  although I do not
>> see the slave-agent window in the node being active, and I can start tests
>> from Jenkins on that node, but nothing runs at the node and eventually
>> Jenkins fails the project.  I have seen this problem several times already
>> to the point where I'm afraid of using task scheduler anymore.  I can not
>> use the slave-agent as a service because I'm running UI Tests.
>>
>> Have anyone seen this problem and have you found a solution?
>>
>> I'm using Jenkins 2.164.3 in Windows.
>>
> --
> 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/1c7a5205-1f41-4781-9b5d-dc2c9e0f1fbe%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.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/CAPiUgVdL4d1vT%3Da_Tc5meij6eU5MLc%2BPNjjio9AXS6TBfg4uwA%40mail.gmail.com.


Re: WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-08-02 Thread Nef Rey
The problem was that I was selecting the option to start the slave task 
whether the user was logged on or not. This option was blocked in our 
company policy.  Weird that slave acted as if everything was alright  but, 
misbehaved.  I had to select the option to start when the user was logged 
on.  And additionally I had to also specify the "Start in (optional)" 
option in the task so windows knows the path where to begin.

On Tuesday, June 25, 2019 at 11:08:47 AM UTC-5, Nef Rey wrote:
>
> I have this very peculiar problem: When I launch the slave agent manually 
> by right clicking and select launch, everything works normally and tests 
> can be executed on that node.
>
> However, when I launch the slave-agent via Windows Task Scheduler, Jenkins 
> can see it and can launch tests on that node,  although I do not see the 
> slave-agent window in the node being active, and I can start tests from 
> Jenkins on that node, but nothing runs at the node and eventually Jenkins 
> fails the project.  I have seen this problem several times already to the 
> point where I'm afraid of using task scheduler anymore.  I can not use the 
> slave-agent as a service because I'm running UI Tests.
>
> Have anyone seen this problem and have you found a solution?
>
> I'm using Jenkins 2.164.3 in Windows.
>

-- 
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/1c7a5205-1f41-4781-9b5d-dc2c9e0f1fbe%40googlegroups.com.


WebStart Slave-Agent misbehaving when launched via Windows Task Scheduler

2019-06-25 Thread Nef Rey
I have this very peculiar problem: When I launch the slave agent manually 
by right clicking and select launch, everything works normally and tests 
can be executed on that node.

However, when I launch the slave-agent via Windows Task Scheduler, Jenkins 
can see it and can launch tests on that node,  although I do not see the 
slave-agent window in the node being active, and I can start tests from 
Jenkins on that node, but nothing runs at the node and eventually Jenkins 
fails the project.  I have seen this problem several times already to the 
point where I'm afraid of using task scheduler anymore.  I can not use the 
slave-agent as a service because I'm running UI Tests.

Have anyone seen this problem and have you found a solution?

I'm using Jenkins 2.164.3 in Windows.

-- 
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/e52eb911-4006-448a-9bf3-faa0ab705003%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.