Hi,

It was in the Queue.Task I was using. But you kind of helped me anyways 
because I was so focused on the Queue.Task object that I completely forgot 
about the list of Actions that are also passed to the shouldSchedule() 
method... Which of course contains the parameters for the project.

Thx :P


On Wednesday, 17 July 2013 17:44:33 UTC+2, Marc MacIntyre wrote:
>
> 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]<javascript:>
> > 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] <javascript:>.
>> 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