I am trying to automate a process in my present project, i have two questions related to it.
1) can I trigger a Jenkins job using ready api?
2) If the answer to my 1st question is Yes, then this jenkins job does a spark submit and run an etl job on hadoop cluster and presently I do a manual check on job status (accept, running, finished) on hadoop by passing a parameter which I used while triggering the jenkins job, So, my second question is can I make calls to the hadoop cluster to check the job status (as this job takes times around 5 to 10 mins to complete can I make recurring calls until the status changes to finished).
Usually, it's required to run ReadyAPI tests from Jenkins. Could you please explain a bit your test scenario? Why do you need to trigger Jenkins jobs through ReadyAPI? Perhaps, we can suggest an alternative solution. I see that Jenkins provides API - so you can use it to get access to the target job. Here is an example: