[JIRA] Created: (HUDSON-7087) As a build manager, I want to be able to build all branches except for master (BranchSpec needs to support exclusion )

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-7087) As a build manager, I want to be able to build all branches except for master (BranchSpec needs to support exclusion )

Hudson issues mailing list
As a build manager, I want to be able to build all branches except for master (BranchSpec needs to support exclusion )
----------------------------------------------------------------------------------------------------------------------

                 Key: HUDSON-7087
                 URL: http://issues.hudson-ci.org/browse/HUDSON-7087
             Project: Hudson
          Issue Type: Improvement
          Components: git
            Reporter: nealeu
            Assignee: abayer


A benefit of git is that we use ad-hoc branches, and the default for the Git plugin is that all branches get built.

That's great, but we'd really like to be able to extract 'master' from the build, and have the ad-hoc branches built as part of another build.

That means that we need to be able to write a branch spec of master for one (okay... that works), and !master for the other.

I've looked at BranchSpec, and we don't have the option to use regexp.Pattern expressions because everything is escaped with Pattern.quote(), so it seems the simplest approach would be to have a flag to invert the pattern, e.g. !

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]