Step 9 − In the following screen, give a name for the Build Configuration. Go to your project screen in TeamCity → General Settings. Step 8 − The next step is to create a build configuration which will be used to build the project. Step 7 − Click Create and you will now see your repository registered as shown in the following image. Click it to ensure that you can successfully connect to the Git enabled repository. If you scroll down the screen, you will get a Test connection button. Give the Fetch url as C:\Demo\Simple – This is out git enabled repository. Give a name for the VCS root, this can be any friendly name. Step 6 − In the next screen that comes up, perform the following steps − Step 5 − In the screen that comes up next, click Create VCS root as shown in the following screenshot. For this, click VCS Roots in the project’s main screen. In TeamCity, you need to create a VCS root. We have already enabled our project folder to be a Git enabled repository in the earlier step. Remember that in a Continuous Integration environment, the CI server needs to pick up the code from the Git enabled repository. Step 4 − The next step is to mention the Git repository which will be used in our project. ![]() In our case, we are giving the name as ‘Demo’ to our project as shown in the following screenshot. Step 3 − Give a name for the project and click Create to start the project. ![]() Click Create Project to start a new project. Step 2 − Once logged in, you will be presented with the home screen. Go to the url on your Continuous Integration server − Enter the admin credentials and login to the server. This can be done via the following steps − Now that we have our source code in the Git repository and all of our initial code works on the build server, it is time to create a project in our Continuous Integration server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |