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

Give the possibility to monitor all branches as Git plugin

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • mercurial-plugin
    • None
    • Any

      Improvment demanded: Have the possibility to monitor all branches from the same repository. This feature exists through GIT plugin.
      On attachment you can see the difference between both plugins.
      In fact to avoid any regression it's to add on Mercurial plugin in option this feature:

      • Through a radio button
      • Or on this field by '*'
        This feature could be really helpfull in usage of unbreakable build process because we could launch a single job for all branches (especially when we are working in feature teams)

      Thank you

      Arnaud

          [JENKINS-11102] Give the possibility to monitor all branches as Git plugin

          Arnaud Gueremy created issue -

          Richard Simes added a comment -

          This feature would be very useful for our intended workflow

          Richard Simes added a comment - This feature would be very useful for our intended workflow
          Nicolas De Loof made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Nicolas De Loof [ ndeloof ]
          Nicolas De Loof made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Nicolas De Loof added a comment - see https://github.com/jenkinsci/mercurial-plugin/pull/10

          Jesse Glick added a comment -

          I guess this would be useful only for parameterized builds?

          Jesse Glick added a comment - I guess this would be useful only for parameterized builds?

          why parameterized builds ?
          This would be useful to CI any project that uses to create new branches (typically : feature or topic-branches) and don't want to create a dedicated job for each of them.

          Nicolas De Loof added a comment - why parameterized builds ? This would be useful to CI any project that uses to create new branches (typically : feature or topic-branches) and don't want to create a dedicated job for each of them.

          Jesse Glick added a comment -

          I guess you could use it that way. It would mean that the job could be unstable or failed even when trunk is fine, which could be confusing. Potentially worse, it means the job could be stable when trunk is broken. Parameterizing the build would clearly show individual statuses for each active branch.

          Jesse Glick added a comment - I guess you could use it that way. It would mean that the job could be unstable or failed even when trunk is fine, which could be confusing. Potentially worse, it means the job could be stable when trunk is broken. Parameterizing the build would clearly show individual statuses for each active branch.

          Mike Wilson added a comment -

          This feature would be a very big win where I work too. We want to switch to topic/feature branches and being able to configure the repository once and then have it run dynamically for all branches would be a big win.

          I understand jglick's argument though, about the job status. How does the Git plugin deal with this, and have they established an "acceptable" compromise?

          Mike Wilson added a comment - This feature would be a very big win where I work too. We want to switch to topic/feature branches and being able to configure the repository once and then have it run dynamically for all branches would be a big win. I understand jglick's argument though, about the job status. How does the Git plugin deal with this, and have they established an "acceptable" compromise?

          Jesse Glick added a comment -

          I am not sure what the usual usage for the Git plugin is. It seems to use ** (rather than master) as the default branch spec, meaning it will go and build everything it finds in the remote repo, which is not normally what you want. The problem is that Jenkins has a linear build history which cannot easily express a branchy SCM repository.

          Jesse Glick added a comment - I am not sure what the usual usage for the Git plugin is. It seems to use ** (rather than master ) as the default branch spec, meaning it will go and build everything it finds in the remote repo, which is not normally what you want. The problem is that Jenkins has a linear build history which cannot easily express a branchy SCM repository.

            jglick Jesse Glick
            gueremy Arnaud Gueremy
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: