Forum Discussion

MD01's avatar
MD01
Occasional Contributor
5 years ago

Can we trigger a jenkins job thru ready api

Hi All,

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

 

5 Replies