docs icon indicating copy to clipboard operation
docs copied to clipboard

How can we get the value of user input

Open rajat2911 opened this issue 2 years ago • 1 comments

rajat2911 avatar Oct 20 '23 17:10 rajat2911

Hi @rajat2911, do you mean the value from an input step? If so, you can access it in a Bash script as follows:

INPUT_VALUE=$(buildkite-agent meta-data get <input_key>)

See docs.

If you need more help, I recommend you reach out to support or post on the forum. 😊

mbelton-buildkite avatar Nov 13 '23 00:11 mbelton-buildkite