Summary
Writes the computed version variables to the build agent's integration output (e.g. environment variables or build properties).
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Agents - Containing Type
- IBuildAgent
Syntax
void WriteIntegration(Action<string> writer, GitVersionVariables variables, bool updateBuildNumber = true)
Attributes
| Type | Description |
|---|---|
| Nullable |
Parameters
| Name | Type | Description |
|---|---|---|
| writer | Action |
|
| variables | GitVersionVariables | |
| updateBuildNumber | bool |
Return Value
| Type | Description |
|---|---|
| void |