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

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.580.2
      Github API plugin 1.59
      Github plugin 1.9.1
      Template Project plugin 1.4.2
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          brantone 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??

          Show
          brantone 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??
          Hide
          jrutten 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.

          Show
          jrutten 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.

            People

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

              Dates

              • Created:
                Updated: