Did you try doing this:
https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin#GitHubPlugin-TriggerabuildwhenachangeispushedtoGitHub


On Mon, May 16, 2016 at 2:54 PM, John Chandra <[email protected]> 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.
>
>

-- 
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/CAG%3DrPVe%2B11JTj8dscJAi5sxWSS5%2B908a_m24OYQ5OG%3DJcf758Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to