you can't. By nature, dynamic parameters are computer by the job to use
them, can't be force to a "fixed" value by the invoker.


2013/8/16 Bob Bick <[email protected]>

>  Hi,****
>
> ** **
>
> A build flow job invokes job X that has a dynamic parameter Y. The build
> flow job also has the dynamic parameter Y that it passes to job X. Ideally,
> parameter Y from the build flow job should override the calculated dynamic
> parameter value for job X. Unfortunately, when the build flow job invokes
> job X, job X recalculates parameter Y.****
>
> ** **
>
> Q. Is there a way to have job X use parameter Y? That is, I’d like the
> dynamic parameter script to check whether the value has already been set,
> and if so, then use that value.****
>
> ** **
>
> Right now, to get this behavior to work, I am planning to create two
> parameters (Y and Y_OVERRIDE) for job X … and then use Y_OVERRIDE. Any
> other ideas as to a better way to do this? This seems like an awful hack.*
> ***
>
> ** **
>
> Dynamic parameter plugin doc:****
>
>
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in
> ****
>
> ** **
>
> Thanks,****
>
> Bob****
>
>
> *** *** ***
> This message contains information which may be confidential and
> privileged. Unless you are the addressee (or authorized to receive for the
> addressee), you may not use, copy or disclose to anyone the message or any
> information contained in the message. If you have received the message in
> error,  please advise the sender by reply e-mail and delete the message.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" 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 Users" 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