You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
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).
Christopher Orr
unread,
Dec 4, 2015, 1:45:44 PM12/4/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
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.:
On 04/12/15 17:02, ccha...@kinaxis.com wrote:
> 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, December 4, 2015 at 10:08:17 AM UTC-5, Victor Martinez wrote:
>
> https://YOUR_JENKINS_URL/job/YOUR_JOB/api/ > <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
>