Skip to content

Get build by commit hash #303

@brentgreeff

Description

@brentgreeff

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions