How to filter specific repositories in an Organization Folder

Last Reviewed:2025-12-31()
2 minute readKnowledge base

Issue

I want to exclude or filter specific repositories within an Organization Folder, but there is no option to apply per-repository name filters at the Organization Folder level.

Explanation

Organization Folders do not currently support per-repository name filtering.

Organization Folders are designed to discover and manage all repositories within an organization or user account automatically.

While branch-level filtering is supported through behaviors and build strategies, filtering specific repositories by name requires alternative approaches.

Workaround

Use one of the following approaches to achieve repository-level filtering.

Option 1: Configure behaviors for branch filtering

While per-repository filtering is not available, you can configure branch-level filtering that applies to all repositories in the Organization Folder.

  1. Navigate to the Organization Folder configuration

  2. Go to Configure  Projects  Repository Sources

  3. Under Behaviors, click Add and select filtering options such as:

    • Filter by name (with regular expression) for branch filtering

    • Filter by name (with wildcards) for branch filtering

    • Discover branches strategies

This approach filters branches across all repositories but does not exclude entire repositories.

Option 2: Split the Organization Folder

Create separate Organization Folders for different repository sets.

  1. Create a new Organization Folder for each subset of repositories

  2. Configure different GitHub/SCM users or organizations that contain only the desired repositories

  3. Apply specific filtering and behaviors to each Organization Folder independently

This provides complete separation and independent configuration for different repository groups.

Option 3: Use Project Recognizer configuration

Configure which repositories are recognized and indexed by the Organization Folder.

  1. Navigate to the Organization Folder configuration

  2. Under Configure  Projects, locate Project Recognizer settings

  3. Adjust the recognizer to control which repository types or structures are discovered

This limits discovery based on repository characteristics rather than explicit name filtering.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.