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

Update GraphQL cookbook with Get Job info by ID #2617

Merged
merged 5 commits into from
Feb 2, 2024

Conversation

lizrabuya
Copy link
Contributor

@lizrabuya lizrabuya commented Jan 17, 2024

We have customers asking how to get job info if they only have a job UUID. One scenario is when debugging agent logs, usually only job UUIDs are logged, without information of the pipeline and build number. Since a few customers have asked this, I think it would be helpful to update our cookbook with an example on how this is done.

@buildkite-docs-bot
Copy link
Contributor

Preview URL: https://2617--bk-docs-preview.netlify.app

@lizrabuya lizrabuya marked this pull request as ready for review January 21, 2024 22:17
@gilesgas
Copy link
Contributor

Hi @lizrabuya ,
Thanks for this PR!
Just as I mentioned previously, I have a couple of tweaks to make to this PR. Please let me know if you'd be OK for me to push them up to this branch before merging this in to main.
These updates are more stylistic changes rather than any changes to your content.

@gilesgas
Copy link
Contributor

gilesgas commented Jan 29, 2024

I decided to use 'UUID' instead of 'ID' in the description since (from your example GraphQL query - and correct me if I'm wrong), it looks like jobs have both an ID and UUID, and this query involves getting a job's info by its UUID only.

@gilesgas gilesgas self-requested a review January 30, 2024 00:11
Copy link
Contributor

@gilesgas gilesgas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good for to merge this now @lizrabuya :-)
Thanks for this contribution!

@lizrabuya lizrabuya merged commit f5c0d21 into main Feb 2, 2024
3 checks passed
@lizrabuya lizrabuya deleted the graphql-cookbook-add-getjobbyuuid branch February 2, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants