Its been a long time since i wrote plugins using these APIs but how come your on stop isn't doing anything? Shouldn't it kill the process?
On Thu., Jul. 23, 2020, 8:48 a.m. Nikhil Bhoski, <[email protected]> wrote: > Thanks Jesse, > > I had referred the same doc and i guess i am following as per > recommendation. Here is my step execution class > > > https://github.com/jenkinsci/matlab-plugin/blob/master/src/main/java/com/mathworks/ci/MatlabCommandStepExecution.java > > > Which will be called in > > > https://github.com/jenkinsci/matlab-plugin/blob/master/src/main/java/com/mathworks/ci/RunMatlabCommandStep.java > > Thanks & Regards > Nikhil > > On Thursday, 23 July 2020 19:09:30 UTC+5:30, Jesse Glick wrote: >> >> On Thu, Jul 23, 2020 at 3:47 AM Nikhil Bhoski <[email protected]> >> wrote: >> > when i use this step with options block with 6 minutes pause as shown >> below.my step does not seem to have any effect of this overriden timeout >> value . It always gets terminated after 5 minutes >> >> You are most likely blocking the whole CPS VM thread, which is illegal. >> See: >> >> >> https://github.com/jenkinsci/workflow-step-api-plugin/blob/master/README.md#creating-an-asynchronous-step >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/12357eb4-d90e-4494-8c6f-619c22a718a4o%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/12357eb4-d90e-4494-8c6f-619c22a718a4o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuvZFU7wgJZ9EAWWFfzPN8vnDFuSPTgEzf6TzaAe9xzJAw%40mail.gmail.com.
