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

Compare with Current View Page History

« Previous Version 8 Next »

Repository URL

Enter the location of your git repository. This is the value of the repository parameter that gets passed to the clone command line option.

Examples:

    • ssh://host.xz[:port]/path/to/repo.git/

    • git://host.xz[:port]/path/to/repo.git/

    • http[s]://host.xz[:port]/path/to/repo.git/

    • ftp[s]://host.xz[:port]/path/to/repo.git/

    • rsync://host.xz/path/to/repo.git/

    • /path/to/repo.git/

    • file:///path/to/repo.git/

Username

If your repository requires a username, enter it in the Username field.

Password

If your repository requires a password, enter it in the Password field.

Recursive

Tick this to pick up submodules when fetching source files from the repository.

Note: When using a remote repository, ensure that any local submodule commits are pushed before related commits on the local repository. If a main repository commit is picked up which is pointing tor a missing submodule commit, Continua will not be able to update the repository cache and a popup error message will be displayed against the changeset in the Configuration Changes view. You can resolve this error, after pushing the changes from the submodule, by clicking a link next to the error message.

 

Fetch Other Remote Refs

Check this to specifiy a refspec for fetching remote branches . e,g

+refs/pull/*/merge:refs/remotes/origin/pr/*

See http://git-scm.com/book/ch9-5.html for further information

Branches To Monitor

There are 3 options to choose from when selecting which branch(es) to monitor.

  1. Single Branch
    This option tells Continua to only monitor a single branch of the repository you specify. When you select this option you need to provide a Branch Name which is the value of the branch you want Continua to monitor.

  2. All branches
    This option tells Continua to monitor all branches in the repository. When you select this option you need to provide a Default Branch value so Continua knows what to use for a build when no branch is selected.

  3. By pattern
    This option tells Continua to monitor any branch that matches a pattern you provide in the Branch Pattern field. The Branch Pattern field accepts a regular expression which is matched against all the branches in your mercurial repository. Since the pattern can potentially match more than one branch, you also need to provide a Default Branch value so Continua knows what to use for a build when no branch is selected.

Using

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

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 "Git".

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.

  • No labels