Does the Queue.task passed into QueueDecisionHandler.shouldSchedule() have
the info you need?

http://javadoc.jenkins-ci.org/hudson/model/Queue.QueueDecisionHandler.html#shouldSchedule(hudson.model.Queue.Task,
java.util.List)


On Wed, Jul 17, 2013 at 7:53 AM, Daniel Olausson <[email protected]>wrote:

> Hello,
>
> I'm currently working on a high availability(active-active) plugin for
> Jenkins, and right now I'm trying to retrieve the parameters of a job
> before it has been put into the queue.
>
> I've tried all the getters available, i.e. project.getProperties,
> project.getAllProperties, project.getActions... But they all return the
> same thing, which is the default PropertyValue and that is not interesting.
>
> In essence, what I'm trying to do, without revealing too much info, is to
> schedule a job on another jenkins but I'm having issues with getting
> parameterized build to work.
>
> The value of the parameters must be somewhere because when the job has
> started to execute the value can be accessed, but this is too late for me.
>
>
> Any ideas?
>
> BR,
> Daniel
>
> --
> 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.
>
>
>



-- 
Marc MacIntyre

-- 
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.


Reply via email to