node-jenkins-api
node-jenkins-api copied to clipboard
How to get current running build status is completed or not?
Is it possible to get current running build status and can it be return in a callback function with details? If a build is running in the jenkins server, it needs to be return a callback function once it will be completed. jenkins.last_build_info only get last build details not current running build details.
there is a parameter "building" in the jenkins.last_build_info,if "building": true, means the build is running
thanks for the reply. Is there any callback function avail when the current build is completed? Is it necessary to wait until this 'building' parameter get false itself?