Yes. In below example the choice_list can come from a shared pipeline
library.

Eg)
Jenkinsfile:
========
choice_list=["choice1", "choice2", choice3"]
properties([


            parameters([


              choice(name: 'mychoiceparam', choices:choice_list,
description: 'my choices')])
])

On Fri, Dec 18, 2020 at 10:53 AM Ven H <venh....@gmail.com> wrote:

> Is it possible to populate a Choice parameter values (choices) with values
> retrieved from a Shared Library Step? Please help.
>
> Regards,
> Venkatesh
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAPp28erSn6zVWDG3--wTLgWT%2BGqVPSBWWwfvrNicqH0B3pZYdQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAPp28erSn6zVWDG3--wTLgWT%2BGqVPSBWWwfvrNicqH0B3pZYdQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJgiyW_9K9XjVL%2BoJPDhAGsN6eFGGY4BDcg-LECrYEZM%3DCWhkw%40mail.gmail.com.

Reply via email to