Details

    • Similar Issues:

      Description

      It should be possible to exclude some branches from being a job created at all.
      e.g. we only merge to the master branch while we do a release, but there should never be a build triggered from the master branch itself. As a result we don't like the master branch to appear in the list of jobs at all.

      I think an additional regex to define the branches to be included would be a perfect solution.

      While there is an option in the "Bitbucket Team/Project" type to exclude jobs from automatically build (via "Automatic branch project triggering" of the "Branch API plugin"). This has not the same effect, a job is still created and a user could potentially trigger it in the UI.

        Attachments

          Issue Links

            Activity

            Hide
            witokondoria Javier Delgado added a comment -

            Corresponding ticket at github-branch-source-plugin is https://issues.jenkins-ci.org/browse/JENKINS-33305 (so it could help in implementing this)

            Show
            witokondoria Javier Delgado added a comment - Corresponding ticket at github-branch-source-plugin is https://issues.jenkins-ci.org/browse/JENKINS-33305 (so it could help in implementing this)
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Do you mean like the Excludes box in the Advanced section?

            Show
            stephenconnolly Stephen Connolly added a comment - Do you mean like the Excludes box in the Advanced section?
            Hide
            stephenconnolly Stephen Connolly added a comment -

            I think this feature is already present

            Show
            stephenconnolly Stephen Connolly added a comment - I think this feature is already present
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Please re-open with a better explanation if I am incorrect

            Show
            stephenconnolly Stephen Connolly added a comment - Please re-open with a better explanation if I am incorrect
            Hide
            imod Dominik Bartholdi added a comment - - edited

            Stephen Connolly well, there is no advanced section in the "bitbucket team/project" (at least not in the version installed on DEV@cloud by cloudbees)

            Show
            imod Dominik Bartholdi added a comment - - edited Stephen Connolly well, there is no advanced section in the "bitbucket team/project" (at least not in the version installed on DEV@cloud by cloudbees)
            Hide
            casz Joseph Petersen added a comment -

            space separated include right?
            "master development" or "development master" only detects development
            "master" byself detects master... something fishy is going on
            I assume this has something to do with the branch api

            Stephen Connolly

             

            Show
            casz Joseph Petersen added a comment - space separated include right? "master development" or "development master" only detects development "master" byself detects master... something fishy is going on I assume this has something to do with the branch api Stephen Connolly  
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Well that would be a separate bug in how those include / exclude things work. They are ANT globs AFAIU. If you have bugs with the include/exclude please file them in a separate issue. The issue here was that you could not set them at the navigator level

            Show
            stephenconnolly Stephen Connolly added a comment - Well that would be a separate bug in how those include / exclude things work. They are ANT globs AFAIU. If you have bugs with the include/exclude please file them in a separate issue. The issue here was that you could not set them at the navigator level

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                imod Dominik Bartholdi
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: