Application pipelines allow you to graphically configure the automation of your build and deployments of your application. With this feature you can enable continuous integration and continuous deployments.
Above is an example pipeline for an application. It depicts:
- Auto Build is enabled. This means when new code it checked into the repository example-node on branch master, it will be automatically be built.
- If the build succeds the release will be automatically deployed to the example-dev5 environment.
- If that deployment succeeds, then the release will be deployed to example-qa5.
- The pipeline will not automatically deploy to example-production, but you can deploy it manually by clicking Promote.
A pipeline is where you set your deployment automation. You will want to manage your deployment “big picture” from a dashboard.
Create a new application pipeline
An app pipeline is automatically created for all applications that are connected to at least one repository branch.
When working with a new application and a new application pipeline you should consider the following:
- To add a step to a pipeline requires at least one application environment.
- You can create environments from the pipeline UI by clicking Create Target.
- In the Pipelines for Applications web UI click Applications and select the application from your list.
- Ensure you are on the Overview tab.
- If you have not yet connected a repository, click Connect Repository and see Connecting a Repository to an Application.
- Click Add Pipeline for XXXXXXX branch.
Your new pipeline is created and ready to be set up. Next steps include:
Create an environment from an application pipeline
Environments are a grouping of servers that consume deployments. Environments are specific to applications. For more information on application environments, see Environments.
To create application environments from an application pipeline, follow these steps:
- In the Pipelines for Applications web UI, click Applications, and select the application you’re interested in.
At the bottom of the App Pipeline screen, click Add Target, then New Enviroment.
Enter a unique name for your environment.
Note: All environments must have unique names.
- Click Create to create the new environment.
Pin a default pipeline branch
If you have multiple branches connected to your pipeline, you can pin the branch you work with most frequently so that it is shown by default whenever you view your application’s pipeline.
- In the Pipelines for Applications web UI click Applications and select an application from your list.
In the App Pipeline area, open the branch selection drop-down. Browse the list of branches or use the Search by branch name field to locate the branch you want.
- Select the branch you wish to see whenever you open this application and click Pin It.