You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Repository URL

Enter the URL of your subversion repository. The Repository URL can be in any of the formats listed here.

If you're connecting to a repository using SSH, you will need to follow some additional steps outlined on the Subversion over SSH page.

Branches To Monitor

There are 2 options to choose from when selecting which branch(s) to monitor.

  1. Single Branch
    Only monitor a single branch of the repository. When you select this option you need to provide a Default Path which is the value of the branch you want Continua to monitor.

  2. By pattern
    Monitor any branch in the directory provided in the Branches Path field that matches the pattern you provide in the Branch Pattern field. The Branch Pattern field accepts a regular expression which is matched against directories under the Branches Path in your Subversion repository. Since the pattern can potentially match more than one branch, you also need to provide a Default Path value so Continua knows what to use for a build when no branch is selected.

    e.g. 

    Branches PathBranch Pattern
    /branches//[^/]+/
    //branches/[^/]+/
    /project/branches//final[^/]+/
    /branches//(Project1|Project2)/[^/]+/



Default Path

Enter the path which represents the default trunk or branch to monitor. The path should start and end with /

Branches Path

This is the directory where the branches are located in your Subversion repository. Only directories under this path will be matched against the Branch Pattern. The path is from the root of your repository and should start and end with /

Branch Pattern

When the repository is checked, only the branches matching this pattern will be monitored. The pattern is matched against directories under the Branches Path in your Subversion repository. The branch pattern should start with / to match the beginning of the branch path and end with / to match the end of a branch path.

Externals

There are 3 options to choose from when selecting how to deal with external repositories. 

  1. Ignore
    Ignore any changesets in external repositories. (Recommend Setting).

  2. Checkout
    Checkout any changesets in external repositories when checking out changesets in the main repository as part of the build process. Don't detect and list changesets in external repositories. 

  3. Detect and Checkout
    Detect and list any changesets in external repositories and check them out as part of the build process.

Externals and Performance

If your externals are large repositories, then we recommend not using this feature (set to Ignore). The externals feature does have a significant performance overhead, because we need to checkout the externals with each checkout of the main repository. If those externals are rarely changing, this is a lot of wasted IO. In this case you may be better off creating seperate repositories in Continua CI for each external svn repo, you can then use the Source Rules on the stage to map the external repositories into the correct location in your build's source folder. This is much more efficient, since the externals only need to be checked out when they change.

UserName

The username to use when managing the SVN repository.

Password

The corresponding password to the username used to manage the repository.

Using

The Using drop down is populated with any property collector whose namespace matches the pattern defined by the Subversion plugin. The pattern for this action is ^subversion\..*

If you create a property collector for this action, make sure you select the Path Finder PlugIn type and give it a name that will match the pattern above in blue. Example names listed here, search the table's Plugin column for "Subversion".

For more in-depth explanations on property collectors see Managing Property Collectors.

Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.

Enabled

Check this box to enable the repository for use as part of the build process.

 

  • No labels