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

Build when a change is pushed to GitHub so follow Use SCM from another project

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins ver. 1.580.2
      Github API plugin 1.59
      Github plugin 1.9.1
      Template Project plugin 1.4.2

      The template project plugin allows you to specify common git information in a single project when multiple projects refer to a common repository. We have a base project (which never gets built) with common definitions, including the repository information. The first job in the pipeline refers to the base for the Git info and has the "build when a change is pushed to GitHub" option checked. Unfortunately, the job never gets triggered, presumably since it is not following the template plugin to get the Git info.

      Not sure if this is a GitHub plugin issue, a Template Project plugin issue or not possible at all.

          [JENKINS-27378] Build when a change is pushed to GitHub so follow Use SCM from another project

          Brantone added a comment -

          This is a complicated issue because Github plugin retains the "map" of repo->job, but since template-project only does concrete->template job, that means Github would have to traverse the reverse.
          Thoughts or contributions on how to solve this??

          Brantone added a comment - This is a complicated issue because Github plugin retains the "map" of repo->job, but since template-project only does concrete->template job, that means Github would have to traverse the reverse. Thoughts or contributions on how to solve this??

          Jay Rutten added a comment -

          Just FYI, this has decreased in importance for us as we have greatly simplified our jobs and removed this dependency.

          Jay Rutten added a comment - Just FYI, this has decreased in importance for us as we have greatly simplified our jobs and removed this dependency.

            Unassigned Unassigned
            jrutten Jay Rutten
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: