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

How to get current running build status is completed or not? #53

Open
ajithr opened this issue Oct 19, 2016 · 2 comments
Open

How to get current running build status is completed or not? #53

ajithr opened this issue Oct 19, 2016 · 2 comments

Comments

@ajithr
Copy link

ajithr commented Oct 19, 2016

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.

@ajithr ajithr changed the title How to get current running build is completed or not? How to get current running build status is completed or not? Oct 19, 2016
@huangrurong
Copy link
Contributor

there is a parameter "building" in the jenkins.last_build_info,if "building": true, means the build is running

@ajithr
Copy link
Author

ajithr commented Oct 19, 2016

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?

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

2 participants