Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So lets get started. Navigate to the homepage and you should see your project and configuration tile. When you hover over this tile, you will notice that actions appear along the bottom of the tile, as seen below. The action we are interested in is the first action that looks like a pencil. This is the Edit Configuration action. Clicking Edit Configuration will take you back to the Configuration Wizard, but this time we will be editing our Configuration rather than creating a new one.

Image RemovedImage Added


Along the top of the Configuration Wizard you will see a whole bunch of steps that will add various elements to your Configuration. These steps are a quick way to navigate between the various aspects of a configuration. Once a Configuration has been created, you are free to move between these sections in any order. The order presented is just a representation of the steps needed to get a build up and running.

Image RemovedImage Added

For now, Let's look at the Repositories section.

...

For this tutorial we will be adding our repository as a Configuration Repository. This means that only this configuration will know about this repository and no other configurations will be able to access it.


Image RemovedImage Added

Create Repository Dialog

So lets create our repository by clicking the Create link next to Configuration Repositories. This will bring up the Create Repository dialog as shown below.

Image RemovedImage Added

The Create Repository dialog allows you create or edit a repository and apply all settings that you will need to connect to your repository. There are plenty of options that you can include when creating a repository, however these will not be covered in this tutorial. For more information, check out the Repository Types

...

For this tutorial we will be creating a Git Version Control Repository so lets select this in the Type dropdown. Once Git is selected you will see additional tabs appear at the top of the dialog, as seen below:

Image RemovedImage Added

You can see that the dialog now incorporates fields that are specific to Git.

Image RemovedImage Added

For this tutorial, we can leave all the fields to their default values and set the Name to Fluent_NHibernate and the Repository URL to https://github.com/jagregory/fluent-nhibernate.git. The Repository URL should point to where your Git repository is hosted. In this case we are pointing to the Fluent NHibernate repository on GitHub.

...

Once saved, the repository will be added to the Configuration Repositories like so:

Image RemovedImage Added

Congratulations, you have successfully added a repository to our configuration. Now every time My First Configuration is run, Continua CI will get the latest source from GitHub and use this code to run its builds.

...