I'm trying to create my first workflow (we've been using freeform jobs), and I'm struggling to figure out how to get the commit hook running.
Normally in the freeform job, there is a option that says "Build when a change is pushed to GitHub". But in the workflow, that option doesn't exist (probably because GitHub doesn't explicitly support the workflow). There hints (e.g. https://groups.google.com/forum/#!searchin/jenkinsci-users/workflow$20scm$20trigger/jenkinsci-users/jyYn1F8X_2s/MWkxUmJCCMkJ) that running the workflow should create the necessary hooks, but that doesn't seem to be the case. I've played around with enabling polling (but with no schedule) and pushes to the repo still don't seem to trigger builds. So I have two questions: 1. Is it possible to define a push trigger via the workflow? I know that Github is notifying us of repo changes because all my other jobs are successfully triggered when changes are pushed. 2. Is there a way to (easily) answer this question via documentation? One of the challenges I'm having with the workflow plugin is finding explanations for which plugins can be called and with what parameters. I have the sense that I'm missing something obvious, perhaps because I am so used to dealing with the UI. Thanks, Alan -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fac23d35-1423-4d2f-8b6a-dbb4cc8ca06a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.