Thanks, but the real question would be how to access the future "Run" from 
within the QueueTaskDispatcher's canRun() method ?

Per my understanding, by the time canRun executes, there's not a Run 
available yet, which why I thought the solution would involve using the 
getFuture() method..


On Monday, February 11, 2019 at 6:42:13 AM UTC-8, Jesse Glick wrote:
>
> On Fri, Feb 8, 2019 at 10:22 PM <[email protected] <javascript:>> 
> wrote: 
> > I'd like to also control the Result of the Run 
>
> Possible, though unusual, via `Run.setResult`. 
>

-- 
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/b9b954bd-c222-4a50-bbd1-06e6a1c55874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to