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 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.: > > curl -s https://ci.jenkins-ci.org/job/infra_update_center_v3/config.xml > | xpath -e '/project/triggers/hudson.triggers.TimerTrigger/spec/text()' > > Regards, > Chris > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9d9db0a2-adc3-4031-9079-345b5a341bb1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
