When using this command through CLI, does it block?

If not this is the reason.

Then you could try and loop+sleep (using powershell ?) until the task has
completed.

Cheers
Le 7 juil. 2015 7:41 PM, <latha....@gmail.com> a écrit :

> Hello all,
>
> I am launching a schedule task in "windows server 2008" through* schtask*
> command in Jenkins job.
>
> What is happening is , the job launches the schedule task and then says
> build successful. . I am looking for a way for the job to wait until the
> schedule task completes.
>
> Any inputs on this?
>
> Thanks in advance,
> latha.
>
> --
> 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/8c1b6543-85c5-48db-99f5-18bcef364094%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/8c1b6543-85c5-48db-99f5-18bcef364094%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANWgJS6ycbJm1JiaDv9f_d1dwGFra0M65FtEEgEyXibM%2BVbxAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to