Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we get the value of user input #2534

Open
rajat2911 opened this issue Oct 20, 2023 · 1 comment
Open

How can we get the value of user input #2534

rajat2911 opened this issue Oct 20, 2023 · 1 comment

Comments

@rajat2911
Copy link

No description provided.

@mbelton-buildkite
Copy link
Contributor

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. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@rajat2911 @mbelton-buildkite and others