Using branches with repositories in a continuous integration and delivery pipeline
When you work in a continuous integration and development environment, you can configure a repository on a source development system to store and test software. You publish branches to repositories to store and test them. You can also configure a pipeline with REST services on your automation server to perform branch operations, such as detecting conflicts, merging branches, and creating branch reviews, immediately after you push a branch to the repository.
To use branches with repositories, you must perform the following tasks:
In Dev Studio, create a repository. For more information, see Creating a repository.
On the source development system, create a development application that is built on all the applications that will go into production. You must also create a ruleset in the development application that contains all the rules that you are using for continuous integration.
You can use the branches REST and merge REST services in your pipeline to perform branch operations. The branches REST service provides subresources that you can use to detect conflicts, merge branches, and create branch reviews.
Configure a continuous integration and development pipeline so that your automation server, such as Jenkins, starts a job immediately after you push a branch to the source development system.
Use the branches REST and merge REST services in the pipeline to perform branch operations, such as detecting conflicts and merging branches. For more information, see Remotely starting automation jobs to perform branch operations and run unit tests.
Previous topic Understanding continuous integration and delivery pipelines with third party automation servers Next topic Remotely starting automation jobs to perform branch operations and run unit tests