Ways of remotely trigger build and track jobs for jenkins

23 views
Skip to first unread message

peng jun

unread,
Dec 8, 2014, 7:56:19 PM12/8/14
to jenkins...@googlegroups.com

I'm trying building an application which makes use of Jenkins to do build jobs, there are two main parts :

  1. The build part, which is fine, I made use of the Jenkins remote API with customized token to trigger remotely, something like this :

my-Jenkins-url/job/job-name/buildWithParameters?para=somepare&token=sometoken

  1. This is where is problem is, once I submit the job how can I keep track of it ? My idea for the application is to keep track of the jobs that I sent and use AJAX to check estimation time and make a progress bar to keep an eye on Jenkins, but the api for xml/json data for Jenkins job is something like :

my-Jenkins-url/job/job-name/lastBuild/api/xml , or my-Jenkins-url/job/job-number/api/xml, I cannot find ways for a user to track a job he/shen sents out, and there are not much api documentation for Jenkins on the official website.

Any ideas on way to do that ? The question is for a user to remotely sent job triggers to Jenkins, how does he keep track of the jobs and request feed back on the job status ?

Reply all
Reply to author
Forward
0 new messages