I think https://issues.jenkins-ci.org/browse/JENKINS-34005 is what you are looking for.
On Monday, May 16, 2016 at 4:54:13 PM UTC-5, John Chandra wrote: > > Hi All, > > Is there any way to configure a build trigger using pipeline script in > Jenkinsfile? We still want to trigger the build when a change is pushed to > GitHub. Is that still possible using Jenkinsfile in Jenkins 2.0? I've been > searching around but I couldn't find a way to get this done. > > John > -- 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/621d3c43-a11e-4d37-87b7-145ad188bd73%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
