On Mon, Aug 28, 2017 at 8:00 AM, Daniel Anechitoaie <[email protected]> wrote: > The problem is that that if I click cancel on the job it still runs until by > build step is finished and all files are zipped and uploaded and only then > it marks the build as aborted. > Is there any way to check from my plugin if the job was aborted and just > stop wherever I am in the build?
I do not think so. Sounds like an RFE for Jenkins core / Remoting: interrupting a synchronous remote call should `Thread.interrupt` the corresponding thread on the remote side. -- 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/CANfRfr2RSxnsLGY9JbKOQWxXKXR1gFxcqrh4sLhFjhiEc0d9Yg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
