Is it possible to use the Jenkins credentials set in the global credentials in the active choice plugin groovy script? I'm trying to make an api call that returns a list and display that as a choices for a parameter using the active choice plugin.
But for that I need auth headers w credentials. How do I handle credentials? Is there a way to access them if I have them set up in the Jenkins credentials? (something like calling credentials(id) in the pipeline env)