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

A branch build strategy that only builds named branches

    Details

    • Similar Issues:

      Description

      A new branch build strategy that will only automatically build named branches. Probably needs some strategy to decide between:

      • a basic list,
      • include/exclude wildcards; and
      • regex

      But this should be a separate strategy from https://github.com/jenkinsci/basic-branch-build-strategies-plugin/blob/master/src/main/java/jenkins/branch/buildstrategies/basic/BranchBuildStrategyImpl.java

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            docs/images/named-branches-exact.png
            docs/images/named-branches-regex.png
            docs/images/named-branches-wildcards.png
            docs/images/named-branches.png
            docs/user.adoc
            src/main/java/jenkins/branch/buildstrategies/basic/BranchBuildStrategyImpl.java
            src/main/java/jenkins/branch/buildstrategies/basic/ChangeRequestBuildStrategyImpl.java
            src/main/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl.java
            src/main/java/jenkins/branch/buildstrategies/basic/TagBuildStrategyImpl.java
            src/main/resources/jenkins/branch/buildstrategies/basic/Messages.properties
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-caseSensitive.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-name.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-caseSensitive.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-regex.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-caseSensitive.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-excludes.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-includes.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help-filters.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help.html
            src/test/java/jenkins/branch/buildstrategies/basic/FormBindingTest.java
            src/test/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImplTest.java
            http://jenkins-ci.org/commit/basic-branch-build-strategies-plugin/947b4fcc26ba93105f2b90ca4ff1036bdf980dac
            Log:
            [FIXED JENKINS-48792] A branch build strategy that only builds named branches

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: docs/images/named-branches-exact.png docs/images/named-branches-regex.png docs/images/named-branches-wildcards.png docs/images/named-branches.png docs/user.adoc src/main/java/jenkins/branch/buildstrategies/basic/BranchBuildStrategyImpl.java src/main/java/jenkins/branch/buildstrategies/basic/ChangeRequestBuildStrategyImpl.java src/main/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl.java src/main/java/jenkins/branch/buildstrategies/basic/TagBuildStrategyImpl.java src/main/resources/jenkins/branch/buildstrategies/basic/Messages.properties src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-caseSensitive.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-name.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-caseSensitive.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-regex.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-caseSensitive.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-excludes.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-includes.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help-filters.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help.html src/test/java/jenkins/branch/buildstrategies/basic/FormBindingTest.java src/test/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImplTest.java http://jenkins-ci.org/commit/basic-branch-build-strategies-plugin/947b4fcc26ba93105f2b90ca4ff1036bdf980dac Log: [FIXED JENKINS-48792] A branch build strategy that only builds named branches
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            CHANGES.adoc
            http://jenkins-ci.org/commit/basic-branch-build-strategies-plugin/47b6f12f5f207c5834fddaf593762c303cd53d2b
            Log:
            JENKINS-48792 Noting in changelog

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: CHANGES.adoc http://jenkins-ci.org/commit/basic-branch-build-strategies-plugin/47b6f12f5f207c5834fddaf593762c303cd53d2b Log: JENKINS-48792 Noting in changelog
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            CHANGES.adoc
            docs/images/named-branches-exact.png
            docs/images/named-branches-regex.png
            docs/images/named-branches-wildcards.png
            docs/images/named-branches.png
            docs/user.adoc
            src/main/java/jenkins/branch/buildstrategies/basic/BranchBuildStrategyImpl.java
            src/main/java/jenkins/branch/buildstrategies/basic/ChangeRequestBuildStrategyImpl.java
            src/main/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl.java
            src/main/java/jenkins/branch/buildstrategies/basic/TagBuildStrategyImpl.java
            src/main/resources/jenkins/branch/buildstrategies/basic/Messages.properties
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-caseSensitive.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-name.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-caseSensitive.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-regex.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-caseSensitive.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-excludes.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-includes.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/config.jelly
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help-filters.html
            src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help.html
            src/test/java/jenkins/branch/buildstrategies/basic/FormBindingTest.java
            src/test/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImplTest.java
            http://jenkins-ci.org/commit/basic-branch-build-strategies-plugin/7011701f3bf9aaeebc523c685a35e18e9fff5cea
            Log:
            Merge pull request #1 from stephenc/jenkins-48792

            [FIXED JENKINS-48792] A branch build strategy that only builds named branches

            Compare: https://github.com/jenkinsci/basic-branch-build-strategies-plugin/compare/4587d9c64a2b...7011701f3bf9

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: CHANGES.adoc docs/images/named-branches-exact.png docs/images/named-branches-regex.png docs/images/named-branches-wildcards.png docs/images/named-branches.png docs/user.adoc src/main/java/jenkins/branch/buildstrategies/basic/BranchBuildStrategyImpl.java src/main/java/jenkins/branch/buildstrategies/basic/ChangeRequestBuildStrategyImpl.java src/main/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl.java src/main/java/jenkins/branch/buildstrategies/basic/TagBuildStrategyImpl.java src/main/resources/jenkins/branch/buildstrategies/basic/Messages.properties src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-caseSensitive.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help-name.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/ExactNameFilter/help.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-caseSensitive.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help-regex.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/RegexNameFilter/help.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-caseSensitive.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-excludes.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help-includes.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/WildcardsNameFilter/help.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/config.jelly src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help-filters.html src/main/resources/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImpl/help.html src/test/java/jenkins/branch/buildstrategies/basic/FormBindingTest.java src/test/java/jenkins/branch/buildstrategies/basic/NamedBranchBuildStrategyImplTest.java http://jenkins-ci.org/commit/basic-branch-build-strategies-plugin/7011701f3bf9aaeebc523c685a35e18e9fff5cea Log: Merge pull request #1 from stephenc/jenkins-48792 [FIXED JENKINS-48792] A branch build strategy that only builds named branches Compare: https://github.com/jenkinsci/basic-branch-build-strategies-plugin/compare/4587d9c64a2b...7011701f3bf9

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: