🚁Dynamic
/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.

Creating a Dynamic Parameter
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.
Example in Bash:
number1=$(shuf -i 1-100000 -n 1)
number2=$(shuf -i 1-100000 -n 1)
number3=$(shuf -i 1-100000 -n 1)
echo "::set-output result=[$number1,$number2,$number3]"
Testing a Dynamic Parameter
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.

Last updated