Re: Get job schedule from API

2015-12-04 Thread cchapman
Thanks Chris. My back up was to get the html page and get it from there. Getting the config.xml file is a better option. Thanks again, Clint On Friday, December 4, 2015 at 1:45:44 PM UTC-5, Christopher Orr wrote: > > Only part of the job config is exposed in the API. For example, SCM > info

Re: Get job schedule from API

2015-12-04 Thread Christopher Orr
Only part of the job config is exposed in the API. For example, SCM info is there, but not build triggers. I imagine you could file a feature request for that :) Though there is at least a way of programmatically grabbing the job config, so if you're authenticated, you can parse the XML, e.g.:

Re: Get job schedule from API

2015-12-04 Thread cchapman
Thanks Victor but I'm not trying to "schedule" a build. I want a way to access the recurring schedule of the job from the API (i.e. The "0 0 * * *" in the picture below). On Friday, Decemb

Re: Get job schedule from API

2015-12-04 Thread Victor Martinez
https://YOUR_JENKINS_URL/job/YOUR_JOB/api/ Look at the Perform a build section Cheers On Friday, 4 December 2015 15:35:04 UTC+1, ccha...@kinaxis.com wrote: > > Is there a way to get the schedule for a job from the API? I can't find > it anywhere. :( > > Thanks, > Clint > -- You received this

Get job schedule from API

2015-12-04 Thread cchapman
Is there a way to get the schedule for a job from the API? I can't find it anywhere. :( Thanks, Clint -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkins