🚁Dynamic
Last updated
Last updated
/parameters/dynamic
Dynamic Parameters should be fast and under a few seconds if possible. It is best to use a Docker image already containing the necessary packages rather than installing them every time.
To Create a Dynamic Parameter, simply Click the Create tab, Choose a Code Language, write a small piece of Code to generate your output and Click submit on the bottom.
Your script should print an array of dynamic options using the following format:
:set-output result=[a,b,c]
After you've created your Dynamic Parameter, click "Play" in the list. It will bring you to a small Run page, where you can show and test a default for your Parameter.
You can also tweak the code and run it, but in order to save it you'll need to click the "Edit" button in the Dynamic Parameter list.