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

Get build by commit hash #303

Open
brentgreeff opened this issue Dec 3, 2020 · 0 comments
Open

Get build by commit hash #303

brentgreeff opened this issue Dec 3, 2020 · 0 comments

Comments

@brentgreeff
Copy link

I have independent command which triggers a build by pushing to github. Webhook then starts the build on Jenkins.
Is it possible to use the commit hash from this push to query the Jenkins API & get details about the build.
I just want the build status for a specific git commit hash.

I have looked through the code for JenkinsApi::Client::Job & JenkinsApi::Client::BuildQueue - but I dont see what I am looking for.

Happy to try & extend this project if you can give me some guidance on how it can be achieved.

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

1 participant