as FlyweightTask is just a marker interface this for sure be changed as you suggest, please create a pull requests.
2013/10/12 Surya Gaddipati <[email protected]> > Bump!!. > Could someone let me know if this is doable? > > On Thursday, October 10, 2013 1:50:13 PM UTC-5, surya gaddipati wrote: >> >> Hello All, >> >> I am writing a plugin with new project type that sometimes needs to spawn >> of multiple executors ( like matrix project ) but not all the time. When it >> needs to run in flyweight mode is decided at runtime. >> >> The blocker to this I am running into is this >> >> https://github.com/jenkinsci/**jenkins/blob/master/core/src/** >> main/java/hudson/model/Queue.**java#L1058<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Queue.java#L1058> >> >> if(Jenkins.FLYWEIGHT_SUPPORT && p.task instanceof FlyweightTask && ! >> ifBlockedByHudsonShutdown(p.t**ask)) { >> >> >> can this be changed to p.isFlyweight() . I can submit a pull request if >> that is possible. >> >> Surya >> > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
