Creating jobs for non-master branches on GitHub

6 views
Skip to first unread message

pand...@gmail.com

unread,
Jun 23, 2016, 4:55:43 PM6/23/16
to Jenkins Users
Hello everyone,

I'm trying to set up jobs that build non-master branches for several private GitHub repositories.

To do so, I've tried specifying '*/master' as branch and adding an 'Inverse' strategy for choosing what to build.

However when I do this and push to the master branch, the job is still run. The job checks out a revision from some other branch and builds that. This is not what I want: I want pushes to master to simply not trigger this job at all.

Is this possible? Am I doing something wrong?

Thanks in advance!

Murph
Reply all
Reply to author
Forward
0 new messages