Manage your release
Improve the process of managing the release of your app. Deploy your app to a specific environment for each separate stage. Manage the steps in the process with approvals for each step.
If you haven't yet installed release management, do that here. You need to install the Release Management Server and Client. (Release Management is currently only supported with an on-premises Team Foundation Server.)
Install and configure a deployment agent to any machine that will be part of the environment used to deploy your app.
Open the release management client. View the guide and checklist that is provided to help you to set up your release process.
The following steps guide you through the essential parts of the release process.
From the Administration tab, add a stage type for each step you need in the release process of your app.
View the stage types that you have added.
Scan for new servers that already have deployment agents installed. If the server you want to use is not in the list, check that the service for the deployment agent (Microsoft Deployment Agent) is started on that machine.
Register the servers to use for your environments. You will deploy your app to the servers in an environment as part of your release process.
Create environments for each of your stages. Link the servers to your environments.
An environment can contain multiple servers.
- Add your solution for your app to version control and create a build definition.
Create a release path to represent the stages that your release must go through.
Choose the environment and approvers to use for each stage of your release. You can add multiple final approvers for each stage if you want to.
Create a release template and use the release path that you just added. Link your build definition to this release template to have access to the build.
Next you define the sequence of actions that deploys your app for each stage.
The deployment agent must have sufficient permissions to perform any of the actions in your sequence. For example, to remove a web site the deployment agent service must run as a local administrator on that machine.
Start a new release.
Name the release and choose the release template that you want to use.
The release process begins.
You can also start a release automatically from a build. Go here to find out how.
Approve steps in a stage
You can find any requests that are awaiting your approval.
When you are ready, approve the action for the stage. The release then continues to the next step or the next stage.
Manual steps must be approved before automated steps in a stage can continue.
You can also use the Release Management web browser client to find requests and approve actions for each stage. To access this client, use the following URL: "http://<your_team_foundation_server_name>
Q:Can I deploy components of my multi-tiered app separately?
A:Yes, you can create components with separate deployment information.
Add the component to the release template. Now you can add this component to any stage that needs it.
Q:What release actions can I add to the deployment sequence?
A:More details on actions are here.
Q:How do I copy a deployment sequence of one stage to another?
A:Use the shortcut menu of a sequence to copy it. Select the sequence where you want to paste it, and use its shortcut menu to Paste Deployment Sequence.
Q:Are there any system settings that I can change?
A:Yes. You can edit settings based on your system requirements.