Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 14ca2b8

Browse files
author
Paulo Baima
committed
Working on project description
1 parent ea35953 commit 14ca2b8

File tree

4 files changed

+42
-1
lines changed

4 files changed

+42
-1
lines changed

README.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,48 @@
1-
# azuredevops-unify-release
1+
![Azure DevOps tests](https://github.com/psbds/azuredevops-unify-release/blob/master/images/extension-icon.png)
2+
# Azure Devops Unify Release Task
23

34

45
### Develop Branch:
56
[![Build status](https://dev.azure.com/padasil/AzureDevOps%20-%20Unify%20Release/_apis/build/status/Develop%20Build)](https://dev.azure.com/padasil/AzureDevOps%20-%20Unify%20Release/_build/latest?definitionId=9)
67
![Azure DevOps tests](https://img.shields.io/azure-devops/tests/padasil/AzureDevOps%20-%20Unify%20Release/9)
78
![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/padasil/AzureDevOps%20-%20Unify%20Release/9)
9+
10+
Unify Relase is a simple build task for Azure DevOps to enable two or more builds from the same source code to trigger a single Release.
11+
12+
By default if you have a release that get triggered by two different builds, this release will be run for each time one of this builds are completed
13+
14+
![Azure DevOps tests](https://github.com/psbds/azuredevops-unify-release/blob/master/docs/unify-release-before.png)
15+
16+
With the unify release task, you are able to control the releases in a way that two builds triggered from the same source version can generate only one release.
17+
18+
![Azure DevOps tests](https://github.com/psbds/azuredevops-unify-release/blob/master/docs/unify-release-after.png)
19+
20+
This scenario is common especially with Mono Repository approach, where you need to make changes in two different applications that must go live in the same release.
21+
22+
## How does it works
23+
1. The Unify release tasks when executed from a Build pipeline, checks the other builds triggered from the same source version.
24+
25+
2. If no builds are pending it will create a build tag that you can use to filter in your release pipeline.
26+
27+
3. If there's a build pending, it will not create the build tag, so your release pipeline (with the build tag filter enable) will not be triggered.
28+
29+
In this way, only the last build to finish will create the build tag and the pipeline will be run.
30+
31+
## How to Use It
32+
33+
1. Install the Unify Release Task from the Azure DevOps Marketplace.
34+
35+
2. Put the Unify release task in your build pipelines as the last task to be executed.
36+
37+
4. In your Release Artifacts, put a Build Tag filter for the build tag you configured on the Unify Release Task (default to create_release).
38+
39+
40+
## Task Options
41+
42+
|Parameter |Description | Default Value |
43+
|---|---|---|---|---|
44+
| a | b| c | d |
45+
| a | b| c | d |
46+
| a | b| c | d |
47+
| a | b| c | d |
48+
| a | b| c | d |

docs/unify-release-after.png

63.2 KB
Loading

docs/unify-release-before.png

105 KB
Loading

images/extension-icon.png

44.9 KB
Loading

0 commit comments

Comments
 (0)