--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/12357eb4-d90e-4494-8c6f-619c22a718a4o%40googlegroups.com.
You should also implement stop
to terminate the step. It could simply read
getContext().onFailure(cause);
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, <nikhil...@gmail.com> wrote:
Thanks Jesse,--I had referred the same doc and i guess i am following as per recommendation. Here is my step execution classWhich will be called inThanks & RegardsNikhil
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 <nikhil...@gmail.com> 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 jenkin...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/47dea698-df6c-485d-9df3-9230e305c480o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d948f10c-eb14-42f4-aba5-ee765a1daf19o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d948f10c-eb14-42f4-aba5-ee765a1daf19o%40googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.