Class JobStrategy
- Namespace
- Invex.StructuredText.AzureDevopsPipelines.DevopsPipelineModel.Jobs
- Assembly
- Invex.StructuredText.AzureDevopsPipelines.dll
Execution strategy for a job.
public sealed record JobStrategy
- Inheritance
-
objectJobStrategy
Constructors
JobStrategy()
public JobStrategy()
Properties
Matrix
Specifies the execution strategy as a matrix of named variable combinations. Each key is a combination name (e.g., "001_windows-latest"), and each value is a dictionary of variable name to variable value for that combination.
public IReadOnlyDictionary<string, IReadOnlyDictionary<string, Template>>? Matrix { get; init; }
Property Value
- IReadOnlyDictionary<string, IReadOnlyDictionary<string, Template>>
MaxParallel
Maximum number of jobs to run in parallel.
public Template? MaxParallel { get; init; }
Property Value
Parallel
Specifies whether to run the job in parallel.
public Template? Parallel { get; init; }