Create and customize deployment brief templates to match your team's workflow and documentation standards.
Brief templates define the structure and content of deployment briefs generated by DeployBrief. Templates consist of customizable sections with placeholders that are automatically filled with data from your Azure DevOps pipelines, work items, and repositories.
Templates support two formats: Markdown for documentation and HTML for rich formatting.
Tip: Start with a default template and customize it to your needs. You can preview templates before saving.
Templates are composed of sections. Each section has:
High-level overview: pipeline name, environment, deployment date, deployed by
List of work items, commits, pull requests included in the deployment
Unit tests, integration tests, code coverage metrics
Steps to revert deployment, previous version information
Active bugs, limitations, monitoring alerts
Placeholders are variables that get replaced with actual data when generating a brief.
Use double curly braces: {{placeholder}}
| Placeholder | Description |
|---|---|
| {{pipeline.name}} | Pipeline name |
| {{pipeline.id}} | Pipeline ID |
| {{pipeline.url}} | Link to pipeline in Azure DevOps |
| {{build.number}} | Build/run number |
| {{build.date}} | Build completion date |
| {{build.status}} | Build status (Succeeded, Failed, etc.) |
| {{environment.name}} | Target environment (Production, Staging, etc.) |
| {{deployment.date}} | Deployment timestamp |
| {{deployment.by}} | User who triggered deployment |
| {{deployment.reason}} | Deployment trigger reason |
| {{workitems.list}} | List of work items with titles and links |
| {{workitems.count}} | Number of work items |
| {{commits.list}} | List of commits with messages |
| {{commits.count}} | Number of commits |
| {{pullrequests.list}} | List of merged pull requests |
| {{tests.total}} | Total test count |
| {{tests.passed}} | Passed tests |
| {{tests.failed}} | Failed tests |
| {{tests.coverage}} | Code coverage percentage |
Here's a complete example of a deployment brief template:
# Deployment Brief: {{pipeline.name}}
## Deployment Summary
- **Pipeline:** {{pipeline.name}}
- **Build:** #{{build.number}}
- **Environment:** {{environment.name}}
- **Deployed By:** {{deployment.by}}
- **Deployment Date:** {{deployment.date}}
- **Status:** {{build.status}}
## Changes Included
### Work Items ({{workitems.count}})
{{workitems.list}}
### Commits ({{commits.count}})
{{commits.list}}
## Test Results
- **Total Tests:** {{tests.total}}
- **Passed:** {{tests.passed}} ✅
- **Failed:** {{tests.failed}} ❌
- **Code Coverage:** {{tests.coverage}}%
## Rollback Plan
If issues occur, revert to previous build:
1. Navigate to {{pipeline.url}}
2. Select previous successful build
3. Click "Redeploy"
4. Monitor application health
## Links
- [Pipeline]({{pipeline.url}}HTML templates provide rich formatting options with CSS styling:
<div class="deployment-brief">
<h1>{{pipeline.name}}</h1>
<div class="summary">
<span class="badge">{{environment.name}}</span>
<span class="build-number">#{{build.number}}</span>
</div>
<table class="info-table">
<tr>
<th>Deployed By</th>
<td>{{deployment.by}}</td>
</tr>
<tr>
<th>Date</th>
<td>{{deployment.date}}</td>
</tr>
</table>
</div>