jenkinsci / rest-list-parameter-plugin

A simple Jenkins parameter plugin that offers a list of values based on a REST call response.
https://plugins.jenkins.io/rest-list-parameter
GNU General Public License v3.0
10 stars 9 forks source link

Get values before validating #207

Closed mymarche closed 1 week ago

mymarche commented 3 months ago

Description

When calling isValid, the value cache must be updated

Changes

Move getValues() to isValid.

Issues

fixes #205

mymarche commented 3 months ago

Hi, @h1dden-da3m0n! Could you please review my PR? I tested it on my Jenkins installation. Everything works fine.