How to wait for Jenkins job to complete in python-jenkins?

Asked by Taher

Hello all,

Here is the scenario I am working on.
I want to fire a job using python-jenkins. Once the build gets kicked off, the script should wait for the job to complete and once the job gets completed I want to print the status(PASS/FAIL) of job on console.
I also wanted to print the build logs of jenkins job on console at run time.
How will I achieve this?
Thank you in advance.

--
Taher.

Question information

Language:
English Edit question
Status:
Expired
For:
Python Jenkins Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.