Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42155

Jenkins Multiple SCM Plugin causes all GitHub repository master/branch jobs to build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • multiple-scms-plugin
    • None

      (This process assumes you've configured an OAUTH application secret, Jenkins for GitHub webhook access, and GitHub access to Jenkins)

      Run the following steps:

      -Create 2 GitHub repositories: buildtest1 and foo1 (initialized with README)
      -Configure their WebHook with http://your-jenkins-url:8080/github-webhook/, your secret text, etc.
      -Select Just the push event for the WebHook configuration
      -Add Jenkins user to Collaborators & Teams and give your Jenkins user Admin access to the buildtest1 and foo1 repositories
      -Create branches in both, respectively: 1.1, 5.0
      -Create Freestyle job with Git and Multiple SCM Plugin, selecting GitHub hook trigger for GITScm polling:
      +Add SCM for both buildtest1 and foo1, with */master as the branch.
      +

            kbell Kevin Bell
            f00ser Neuronal T
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: