Hi Achille,
Everything looks OK to me. I think in the end your function/script will return an array, which is one of the requirements for the parameter to display the list of values.
Here's one thing you can try, though:
- Move the `return ["None"]` code to the other functions.
For example, I would start by replacing the script of the parameter. If that works, then re-write `StacksUtils.listTypeImpactedEnvs` to return `return ["None"]`.
Keep doing that, and eventually you'll find where the problem is. Alternatively, you can also enable the Jenkins logs (in manage jenkins) using the logger value "org.biouno". That should increase the verbosity of the plug-in logs, and you should have more in the Jenkins output and/or in your browser console.
Let us know if that works,
Bruno