That's not possible. Job parameters cannot depend on each other.
You can only add an explanatory description to the booleanParam A to make 
it clear to user that the value of the extendedChoice parameter will be 
ignored by the job if A is false.

[email protected] schrieb am Freitag, 24. Juni 2022 um 16:13:22 UTC+2:

> Hi team,
>   I have such a requirement on the Jenkins pipeline: when creating 
> parameters, there is a booleanParam parameter A, when A is true, I want the 
> extendedChoice boxes will pop up automatically, and the multi-select 
> parameters of this box will be passed to later use, when A is false I need 
> this optional box is not displayed, and this false value is also used in 
> the back, how can I implement it, or what can I refer to, thank you
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e8203cbd-75d8-4497-ac78-0947e93f10bcn%40googlegroups.com.

Reply via email to