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