Azure DevOps v3.8.0 published on Monday, Mar 17, 2025 by Pulumi
azuredevops.getBuildDefinition
Explore with Pulumi AI
Use this data source to access information about an existing Build Definition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = azuredevops.getProject({
    name: "Example Project",
});
const exampleGetBuildDefinition = example.then(example => azuredevops.getBuildDefinition({
    projectId: example.id,
    name: "existing",
}));
export const id = exampleGetBuildDefinition.then(exampleGetBuildDefinition => exampleGetBuildDefinition.id);
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.get_project(name="Example Project")
example_get_build_definition = azuredevops.get_build_definition(project_id=example.id,
    name="existing")
pulumi.export("id", example_get_build_definition.id)
package main
import (
	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.LookupProject(ctx, &azuredevops.LookupProjectArgs{
			Name: pulumi.StringRef("Example Project"),
		}, nil)
		if err != nil {
			return err
		}
		exampleGetBuildDefinition, err := azuredevops.LookupBuildDefinition(ctx, &azuredevops.LookupBuildDefinitionArgs{
			ProjectId: example.Id,
			Name:      "existing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", exampleGetBuildDefinition.Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = AzureDevOps.GetProject.Invoke(new()
    {
        Name = "Example Project",
    });
    var exampleGetBuildDefinition = AzureDevOps.GetBuildDefinition.Invoke(new()
    {
        ProjectId = example.Apply(getProjectResult => getProjectResult.Id),
        Name = "existing",
    });
    return new Dictionary<string, object?>
    {
        ["id"] = exampleGetBuildDefinition.Apply(getBuildDefinitionResult => getBuildDefinitionResult.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.AzuredevopsFunctions;
import com.pulumi.azuredevops.inputs.GetProjectArgs;
import com.pulumi.azuredevops.inputs.GetBuildDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = AzuredevopsFunctions.getProject(GetProjectArgs.builder()
            .name("Example Project")
            .build());
        final var exampleGetBuildDefinition = AzuredevopsFunctions.getBuildDefinition(GetBuildDefinitionArgs.builder()
            .projectId(example.applyValue(getProjectResult -> getProjectResult.id()))
            .name("existing")
            .build());
        ctx.export("id", exampleGetBuildDefinition.applyValue(getBuildDefinitionResult -> getBuildDefinitionResult.id()));
    }
}
variables:
  example:
    fn::invoke:
      function: azuredevops:getProject
      arguments:
        name: Example Project
  exampleGetBuildDefinition:
    fn::invoke:
      function: azuredevops:getBuildDefinition
      arguments:
        projectId: ${example.id}
        name: existing
outputs:
  id: ${exampleGetBuildDefinition.id}
Using getBuildDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBuildDefinition(args: GetBuildDefinitionArgs, opts?: InvokeOptions): Promise<GetBuildDefinitionResult>
function getBuildDefinitionOutput(args: GetBuildDefinitionOutputArgs, opts?: InvokeOptions): Output<GetBuildDefinitionResult>def get_build_definition(name: Optional[str] = None,
                         path: Optional[str] = None,
                         project_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetBuildDefinitionResult
def get_build_definition_output(name: Optional[pulumi.Input[str]] = None,
                         path: Optional[pulumi.Input[str]] = None,
                         project_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetBuildDefinitionResult]func LookupBuildDefinition(ctx *Context, args *LookupBuildDefinitionArgs, opts ...InvokeOption) (*LookupBuildDefinitionResult, error)
func LookupBuildDefinitionOutput(ctx *Context, args *LookupBuildDefinitionOutputArgs, opts ...InvokeOption) LookupBuildDefinitionResultOutput> Note: This function is named LookupBuildDefinition in the Go SDK.
public static class GetBuildDefinition 
{
    public static Task<GetBuildDefinitionResult> InvokeAsync(GetBuildDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetBuildDefinitionResult> Invoke(GetBuildDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBuildDefinitionResult> getBuildDefinition(GetBuildDefinitionArgs args, InvokeOptions options)
public static Output<GetBuildDefinitionResult> getBuildDefinition(GetBuildDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: azuredevops:index/getBuildDefinition:getBuildDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- name str
- The name of this Build Definition.
- project_id str
- The ID of the project.
- path str
- The path of the build definition. Default to \.
getBuildDefinition Result
The following output properties are available:
- AgentPool stringName 
- The agent pool that should execute the build.
- AgentSpecification string
- The Agent Specification to run the pipelines. Example: windows-2019,windows-latest,macos-13etc.
- CiTriggers List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Ci Trigger> 
- A ci_triggerblock as defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The job authorization scope for builds queued against this definition.
- Jobs
List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Job> 
- A jobsblocks as documented below.
- Name string
- The name of the variable.
- ProjectId string
- PullRequest List<Pulumi.Triggers Azure Dev Ops. Outputs. Get Build Definition Pull Request Trigger> 
- A pull_request_triggerblock as defined below.
- QueueStatus string
- The queue status of the build definition.
- Repositories
List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Repository> 
- A repositoryblock as defined below.
- Revision int
- The revision of the build definition.
- Schedules
List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Schedule> 
- A schedulesblock as defined below.
- VariableGroups List<int>
- A list of variable group IDs.
- Variables
List<Pulumi.Azure Dev Ops. Outputs. Get Build Definition Variable> 
- A variableblock as defined below.
- Path string
- AgentPool stringName 
- The agent pool that should execute the build.
- AgentSpecification string
- The Agent Specification to run the pipelines. Example: windows-2019,windows-latest,macos-13etc.
- CiTriggers []GetBuild Definition Ci Trigger 
- A ci_triggerblock as defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The job authorization scope for builds queued against this definition.
- Jobs
[]GetBuild Definition Job 
- A jobsblocks as documented below.
- Name string
- The name of the variable.
- ProjectId string
- PullRequest []GetTriggers Build Definition Pull Request Trigger 
- A pull_request_triggerblock as defined below.
- QueueStatus string
- The queue status of the build definition.
- Repositories
[]GetBuild Definition Repository 
- A repositoryblock as defined below.
- Revision int
- The revision of the build definition.
- Schedules
[]GetBuild Definition Schedule 
- A schedulesblock as defined below.
- VariableGroups []int
- A list of variable group IDs.
- Variables
[]GetBuild Definition Variable 
- A variableblock as defined below.
- Path string
- agentPool StringName 
- The agent pool that should execute the build.
- agentSpecification String
- The Agent Specification to run the pipelines. Example: windows-2019,windows-latest,macos-13etc.
- ciTriggers List<GetBuild Definition Ci Trigger> 
- A ci_triggerblock as defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The job authorization scope for builds queued against this definition.
- jobs
List<GetBuild Definition Job> 
- A jobsblocks as documented below.
- name String
- The name of the variable.
- projectId String
- pullRequest List<GetTriggers Build Definition Pull Request Trigger> 
- A pull_request_triggerblock as defined below.
- queueStatus String
- The queue status of the build definition.
- repositories
List<GetBuild Definition Repository> 
- A repositoryblock as defined below.
- revision Integer
- The revision of the build definition.
- schedules
List<GetBuild Definition Schedule> 
- A schedulesblock as defined below.
- variableGroups List<Integer>
- A list of variable group IDs.
- variables
List<GetBuild Definition Variable> 
- A variableblock as defined below.
- path String
- agentPool stringName 
- The agent pool that should execute the build.
- agentSpecification string
- The Agent Specification to run the pipelines. Example: windows-2019,windows-latest,macos-13etc.
- ciTriggers GetBuild Definition Ci Trigger[] 
- A ci_triggerblock as defined below.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The job authorization scope for builds queued against this definition.
- jobs
GetBuild Definition Job[] 
- A jobsblocks as documented below.
- name string
- The name of the variable.
- projectId string
- pullRequest GetTriggers Build Definition Pull Request Trigger[] 
- A pull_request_triggerblock as defined below.
- queueStatus string
- The queue status of the build definition.
- repositories
GetBuild Definition Repository[] 
- A repositoryblock as defined below.
- revision number
- The revision of the build definition.
- schedules
GetBuild Definition Schedule[] 
- A schedulesblock as defined below.
- variableGroups number[]
- A list of variable group IDs.
- variables
GetBuild Definition Variable[] 
- A variableblock as defined below.
- path string
- agent_pool_ strname 
- The agent pool that should execute the build.
- agent_specification str
- The Agent Specification to run the pipelines. Example: windows-2019,windows-latest,macos-13etc.
- ci_triggers Sequence[GetBuild Definition Ci Trigger] 
- A ci_triggerblock as defined below.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- The job authorization scope for builds queued against this definition.
- jobs
Sequence[GetBuild Definition Job] 
- A jobsblocks as documented below.
- name str
- The name of the variable.
- project_id str
- pull_request_ Sequence[Gettriggers Build Definition Pull Request Trigger] 
- A pull_request_triggerblock as defined below.
- queue_status str
- The queue status of the build definition.
- repositories
Sequence[GetBuild Definition Repository] 
- A repositoryblock as defined below.
- revision int
- The revision of the build definition.
- schedules
Sequence[GetBuild Definition Schedule] 
- A schedulesblock as defined below.
- variable_groups Sequence[int]
- A list of variable group IDs.
- variables
Sequence[GetBuild Definition Variable] 
- A variableblock as defined below.
- path str
- agentPool StringName 
- The agent pool that should execute the build.
- agentSpecification String
- The Agent Specification to run the pipelines. Example: windows-2019,windows-latest,macos-13etc.
- ciTriggers List<Property Map>
- A ci_triggerblock as defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The job authorization scope for builds queued against this definition.
- jobs List<Property Map>
- A jobsblocks as documented below.
- name String
- The name of the variable.
- projectId String
- pullRequest List<Property Map>Triggers 
- A pull_request_triggerblock as defined below.
- queueStatus String
- The queue status of the build definition.
- repositories List<Property Map>
- A repositoryblock as defined below.
- revision Number
- The revision of the build definition.
- schedules List<Property Map>
- A schedulesblock as defined below.
- variableGroups List<Number>
- A list of variable group IDs.
- variables List<Property Map>
- A variableblock as defined below.
- path String
Supporting Types
GetBuildDefinitionCiTrigger    
- Overrides
List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override> 
- A overrideblock as defined below.
- UseYaml bool
- Use the azure-pipeline file for the build configuration.
- Overrides
[]GetBuild Definition Ci Trigger Override 
- A overrideblock as defined below.
- UseYaml bool
- Use the azure-pipeline file for the build configuration.
- overrides
List<GetBuild Definition Ci Trigger Override> 
- A overrideblock as defined below.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration.
- overrides
GetBuild Definition Ci Trigger Override[] 
- A overrideblock as defined below.
- useYaml boolean
- Use the azure-pipeline file for the build configuration.
- overrides
Sequence[GetBuild Definition Ci Trigger Override] 
- A overrideblock as defined below.
- use_yaml bool
- Use the azure-pipeline file for the build configuration.
- overrides List<Property Map>
- A overrideblock as defined below.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration.
GetBuildDefinitionCiTriggerOverride     
- Batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override Branch Filter> 
- A branch_filterblock as defined above.
- MaxConcurrent intBuilds Per Branch 
- The number of max builds per branch.
- PathFilters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Ci Trigger Override Path Filter> 
- The file paths to include or exclude. A path_filterblock as defined above.
- PollingInterval int
- How often the external repository is polled.
- PollingJob stringId 
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- Batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- BranchFilters []GetBuild Definition Ci Trigger Override Branch Filter 
- A branch_filterblock as defined above.
- MaxConcurrent intBuilds Per Branch 
- The number of max builds per branch.
- PathFilters []GetBuild Definition Ci Trigger Override Path Filter 
- The file paths to include or exclude. A path_filterblock as defined above.
- PollingInterval int
- How often the external repository is polled.
- PollingJob stringId 
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch Boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branchFilters List<GetBuild Definition Ci Trigger Override Branch Filter> 
- A branch_filterblock as defined above.
- maxConcurrent IntegerBuilds Per Branch 
- The number of max builds per branch.
- pathFilters List<GetBuild Definition Ci Trigger Override Path Filter> 
- The file paths to include or exclude. A path_filterblock as defined above.
- pollingInterval Integer
- How often the external repository is polled.
- pollingJob StringId 
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branchFilters GetBuild Definition Ci Trigger Override Branch Filter[] 
- A branch_filterblock as defined above.
- maxConcurrent numberBuilds Per Branch 
- The number of max builds per branch.
- pathFilters GetBuild Definition Ci Trigger Override Path Filter[] 
- The file paths to include or exclude. A path_filterblock as defined above.
- pollingInterval number
- How often the external repository is polled.
- pollingJob stringId 
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch bool
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branch_filters Sequence[GetBuild Definition Ci Trigger Override Branch Filter] 
- A branch_filterblock as defined above.
- max_concurrent_ intbuilds_ per_ branch 
- The number of max builds per branch.
- path_filters Sequence[GetBuild Definition Ci Trigger Override Path Filter] 
- The file paths to include or exclude. A path_filterblock as defined above.
- polling_interval int
- How often the external repository is polled.
- polling_job_ strid 
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
- batch Boolean
- If batch is true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
- branchFilters List<Property Map>
- A branch_filterblock as defined above.
- maxConcurrent NumberBuilds Per Branch 
- The number of max builds per branch.
- pathFilters List<Property Map>
- The file paths to include or exclude. A path_filterblock as defined above.
- pollingInterval Number
- How often the external repository is polled.
- pollingJob StringId 
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
GetBuildDefinitionCiTriggerOverrideBranchFilter       
GetBuildDefinitionCiTriggerOverridePathFilter       
GetBuildDefinitionJob   
- AllowScripts boolAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable.
- Condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- Dependencies
List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Job Dependency> 
- A dependenciesblocks as documented below. Define the job dependencies.
- string
- The job authorization scope for builds queued against this definition.
- JobCancel intTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- JobTimeout intIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition.
- Name string
- The name of this Build Definition.
- RefName string
- The reference name of the job, can be used to define the job dependencies.
- Targets
List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Job Target> 
- A targetblocks as documented below.
- AllowScripts boolAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable.
- Condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- Dependencies
[]GetBuild Definition Job Dependency 
- A dependenciesblocks as documented below. Define the job dependencies.
- string
- The job authorization scope for builds queued against this definition.
- JobCancel intTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- JobTimeout intIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition.
- Name string
- The name of this Build Definition.
- RefName string
- The reference name of the job, can be used to define the job dependencies.
- Targets
[]GetBuild Definition Job Target 
- A targetblocks as documented below.
- allowScripts BooleanAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable.
- condition String
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies
List<GetBuild Definition Job Dependency> 
- A dependenciesblocks as documented below. Define the job dependencies.
- String
- The job authorization scope for builds queued against this definition.
- jobCancel IntegerTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- jobTimeout IntegerIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition.
- name String
- The name of this Build Definition.
- refName String
- The reference name of the job, can be used to define the job dependencies.
- targets
List<GetBuild Definition Job Target> 
- A targetblocks as documented below.
- allowScripts booleanAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable.
- condition string
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies
GetBuild Definition Job Dependency[] 
- A dependenciesblocks as documented below. Define the job dependencies.
- string
- The job authorization scope for builds queued against this definition.
- jobCancel numberTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- jobTimeout numberIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition.
- name string
- The name of this Build Definition.
- refName string
- The reference name of the job, can be used to define the job dependencies.
- targets
GetBuild Definition Job Target[] 
- A targetblocks as documented below.
- allow_scripts_ boolauth_ access_ option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable.
- condition str
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies
Sequence[GetBuild Definition Job Dependency] 
- A dependenciesblocks as documented below. Define the job dependencies.
- str
- The job authorization scope for builds queued against this definition.
- job_cancel_ inttimeout_ in_ minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- job_timeout_ intin_ minutes 
- The job execution timeout (in minutes) for builds queued against this definition.
- name str
- The name of this Build Definition.
- ref_name str
- The reference name of the job, can be used to define the job dependencies.
- targets
Sequence[GetBuild Definition Job Target] 
- A targetblocks as documented below.
- allowScripts BooleanAuth Access Option 
- Enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessTokenvariable.
- condition String
- Specifies when this job should run. Can Custom conditions to specify more complex conditions. More details: Pipeline conditions
- dependencies List<Property Map>
- A dependenciesblocks as documented below. Define the job dependencies.
- String
- The job authorization scope for builds queued against this definition.
- jobCancel NumberTimeout In Minutes 
- The job cancel timeout (in minutes) for builds cancelled by user for this definition.
- jobTimeout NumberIn Minutes 
- The job execution timeout (in minutes) for builds queued against this definition.
- name String
- The name of this Build Definition.
- refName String
- The reference name of the job, can be used to define the job dependencies.
- targets List<Property Map>
- A targetblocks as documented below.
GetBuildDefinitionJobDependency    
- Scope string
- The job reference name that depends on. Reference to jobs.ref_name
- Scope string
- The job reference name that depends on. Reference to jobs.ref_name
- scope String
- The job reference name that depends on. Reference to jobs.ref_name
- scope string
- The job reference name that depends on. Reference to jobs.ref_name
- scope str
- The job reference name that depends on. Reference to jobs.ref_name
- scope String
- The job reference name that depends on. Reference to jobs.ref_name
GetBuildDefinitionJobTarget    
- Demands List<string>
- A list of demands that represents the agent capabilities required by this build. Example: git
- ExecutionOptions List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Job Target Execution Option> 
- A execution_optionsblocks as documented below.
- Type string
- The execution type of the Job.
- Demands []string
- A list of demands that represents the agent capabilities required by this build. Example: git
- ExecutionOptions []GetBuild Definition Job Target Execution Option 
- A execution_optionsblocks as documented below.
- Type string
- The execution type of the Job.
- demands List<String>
- A list of demands that represents the agent capabilities required by this build. Example: git
- executionOptions List<GetBuild Definition Job Target Execution Option> 
- A execution_optionsblocks as documented below.
- type String
- The execution type of the Job.
- demands string[]
- A list of demands that represents the agent capabilities required by this build. Example: git
- executionOptions GetBuild Definition Job Target Execution Option[] 
- A execution_optionsblocks as documented below.
- type string
- The execution type of the Job.
- demands Sequence[str]
- A list of demands that represents the agent capabilities required by this build. Example: git
- execution_options Sequence[GetBuild Definition Job Target Execution Option] 
- A execution_optionsblocks as documented below.
- type str
- The execution type of the Job.
- demands List<String>
- A list of demands that represents the agent capabilities required by this build. Example: git
- executionOptions List<Property Map>
- A execution_optionsblocks as documented below.
- type String
- The execution type of the Job.
GetBuildDefinitionJobTargetExecutionOption      
- ContinueOn boolError 
- Whether to continue the job when an error occurs.
- MaxConcurrency int
- Limit the number of agents to be used. If job type is AgentlessJob, the concurrency is not configurable and is fixed to 50.
- Multipliers string
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- Type string
- The execution type of the Job.
- ContinueOn boolError 
- Whether to continue the job when an error occurs.
- MaxConcurrency int
- Limit the number of agents to be used. If job type is AgentlessJob, the concurrency is not configurable and is fixed to 50.
- Multipliers string
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- Type string
- The execution type of the Job.
- continueOn BooleanError 
- Whether to continue the job when an error occurs.
- maxConcurrency Integer
- Limit the number of agents to be used. If job type is AgentlessJob, the concurrency is not configurable and is fixed to 50.
- multipliers String
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type String
- The execution type of the Job.
- continueOn booleanError 
- Whether to continue the job when an error occurs.
- maxConcurrency number
- Limit the number of agents to be used. If job type is AgentlessJob, the concurrency is not configurable and is fixed to 50.
- multipliers string
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type string
- The execution type of the Job.
- continue_on_ boolerror 
- Whether to continue the job when an error occurs.
- max_concurrency int
- Limit the number of agents to be used. If job type is AgentlessJob, the concurrency is not configurable and is fixed to 50.
- multipliers str
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type str
- The execution type of the Job.
- continueOn BooleanError 
- Whether to continue the job when an error occurs.
- maxConcurrency Number
- Limit the number of agents to be used. If job type is AgentlessJob, the concurrency is not configurable and is fixed to 50.
- multipliers String
- A list of comma separated configuration variables to use. These are defined on the Variables tab. For example, OperatingSystem, Browser will run the tasks for both variables.
- type String
- The execution type of the Job.
GetBuildDefinitionPullRequestTrigger     
- CommentRequired string
- Is a comment required on the PR?
- Forks
List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Fork> 
- A forksblock as defined above.
- InitialBranch string
- When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- Overrides
List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override> 
- A overrideblock as defined below.
- UseYaml bool
- Use the azure-pipeline file for the build configuration.
- CommentRequired string
- Is a comment required on the PR?
- Forks
[]GetBuild Definition Pull Request Trigger Fork 
- A forksblock as defined above.
- InitialBranch string
- When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- Overrides
[]GetBuild Definition Pull Request Trigger Override 
- A overrideblock as defined below.
- UseYaml bool
- Use the azure-pipeline file for the build configuration.
- commentRequired String
- Is a comment required on the PR?
- forks
List<GetBuild Definition Pull Request Trigger Fork> 
- A forksblock as defined above.
- initialBranch String
- When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
List<GetBuild Definition Pull Request Trigger Override> 
- A overrideblock as defined below.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration.
- commentRequired string
- Is a comment required on the PR?
- forks
GetBuild Definition Pull Request Trigger Fork[] 
- A forksblock as defined above.
- initialBranch string
- When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
GetBuild Definition Pull Request Trigger Override[] 
- A overrideblock as defined below.
- useYaml boolean
- Use the azure-pipeline file for the build configuration.
- comment_required str
- Is a comment required on the PR?
- forks
Sequence[GetBuild Definition Pull Request Trigger Fork] 
- A forksblock as defined above.
- initial_branch str
- When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides
Sequence[GetBuild Definition Pull Request Trigger Override] 
- A overrideblock as defined below.
- use_yaml bool
- Use the azure-pipeline file for the build configuration.
- commentRequired String
- Is a comment required on the PR?
- forks List<Property Map>
- A forksblock as defined above.
- initialBranch String
- When use_yaml is true set this to the name of the branch that the azure-pipelines.yml exists on.
- overrides List<Property Map>
- A overrideblock as defined below.
- useYaml Boolean
- Use the azure-pipeline file for the build configuration.
GetBuildDefinitionPullRequestTriggerFork      
- Enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- Enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- enabled Boolean
- Build pull requests from forks of this repository.
- Boolean
- Make secrets available to builds of forks.
- enabled boolean
- Build pull requests from forks of this repository.
- boolean
- Make secrets available to builds of forks.
- enabled bool
- Build pull requests from forks of this repository.
- bool
- Make secrets available to builds of forks.
- enabled Boolean
- Build pull requests from forks of this repository.
- Boolean
- Make secrets available to builds of forks.
GetBuildDefinitionPullRequestTriggerOverride      
- AutoCancel bool
- Should further updates to a PR cancel an in progress validation?
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override Branch Filter> 
- A branch_filterblock as defined above.
- PathFilters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Pull Request Trigger Override Path Filter> 
- The file paths to include or exclude. A path_filterblock as defined above.
- AutoCancel bool
- Should further updates to a PR cancel an in progress validation?
- BranchFilters []GetBuild Definition Pull Request Trigger Override Branch Filter 
- A branch_filterblock as defined above.
- PathFilters []GetBuild Definition Pull Request Trigger Override Path Filter 
- The file paths to include or exclude. A path_filterblock as defined above.
- autoCancel Boolean
- Should further updates to a PR cancel an in progress validation?
- branchFilters List<GetBuild Definition Pull Request Trigger Override Branch Filter> 
- A branch_filterblock as defined above.
- pathFilters List<GetBuild Definition Pull Request Trigger Override Path Filter> 
- The file paths to include or exclude. A path_filterblock as defined above.
- autoCancel boolean
- Should further updates to a PR cancel an in progress validation?
- branchFilters GetBuild Definition Pull Request Trigger Override Branch Filter[] 
- A branch_filterblock as defined above.
- pathFilters GetBuild Definition Pull Request Trigger Override Path Filter[] 
- The file paths to include or exclude. A path_filterblock as defined above.
- auto_cancel bool
- Should further updates to a PR cancel an in progress validation?
- branch_filters Sequence[GetBuild Definition Pull Request Trigger Override Branch Filter] 
- A branch_filterblock as defined above.
- path_filters Sequence[GetBuild Definition Pull Request Trigger Override Path Filter] 
- The file paths to include or exclude. A path_filterblock as defined above.
- autoCancel Boolean
- Should further updates to a PR cancel an in progress validation?
- branchFilters List<Property Map>
- A branch_filterblock as defined above.
- pathFilters List<Property Map>
- The file paths to include or exclude. A path_filterblock as defined above.
GetBuildDefinitionPullRequestTriggerOverrideBranchFilter        
GetBuildDefinitionPullRequestTriggerOverridePathFilter        
GetBuildDefinitionRepository   
- BranchName string
- The branch name for which builds are triggered.
- GithubEnterprise stringUrl 
- The Github Enterprise URL.
- RepoId string
- The id of the repository.
- RepoType string
- The repository type.
- ReportBuild boolStatus 
- Report build status.
- ServiceConnection stringId 
- The service connection ID.
- Url string
- YmlPath string
- The path of the Yaml file describing the build definition.
- BranchName string
- The branch name for which builds are triggered.
- GithubEnterprise stringUrl 
- The Github Enterprise URL.
- RepoId string
- The id of the repository.
- RepoType string
- The repository type.
- ReportBuild boolStatus 
- Report build status.
- ServiceConnection stringId 
- The service connection ID.
- Url string
- YmlPath string
- The path of the Yaml file describing the build definition.
- branchName String
- The branch name for which builds are triggered.
- githubEnterprise StringUrl 
- The Github Enterprise URL.
- repoId String
- The id of the repository.
- repoType String
- The repository type.
- reportBuild BooleanStatus 
- Report build status.
- serviceConnection StringId 
- The service connection ID.
- url String
- ymlPath String
- The path of the Yaml file describing the build definition.
- branchName string
- The branch name for which builds are triggered.
- githubEnterprise stringUrl 
- The Github Enterprise URL.
- repoId string
- The id of the repository.
- repoType string
- The repository type.
- reportBuild booleanStatus 
- Report build status.
- serviceConnection stringId 
- The service connection ID.
- url string
- ymlPath string
- The path of the Yaml file describing the build definition.
- branch_name str
- The branch name for which builds are triggered.
- github_enterprise_ strurl 
- The Github Enterprise URL.
- repo_id str
- The id of the repository.
- repo_type str
- The repository type.
- report_build_ boolstatus 
- Report build status.
- service_connection_ strid 
- The service connection ID.
- url str
- yml_path str
- The path of the Yaml file describing the build definition.
- branchName String
- The branch name for which builds are triggered.
- githubEnterprise StringUrl 
- The Github Enterprise URL.
- repoId String
- The id of the repository.
- repoType String
- The repository type.
- reportBuild BooleanStatus 
- Report build status.
- serviceConnection StringId 
- The service connection ID.
- url String
- ymlPath String
- The path of the Yaml file describing the build definition.
GetBuildDefinitionSchedule   
- BranchFilters List<Pulumi.Azure Dev Ops. Inputs. Get Build Definition Schedule Branch Filter> 
- A branch_filterblock as defined above.
- DaysTo List<string>Builds 
- A list of days to build on.
- ScheduleJob stringId 
- The ID of the schedule job.
- ScheduleOnly boolWith Changes 
- Schedule builds if the source or pipeline has changed.
- StartHours int
- Build start hour.
- StartMinutes int
- Build start minute.
- TimeZone string
- Build time zone.
- BranchFilters []GetBuild Definition Schedule Branch Filter 
- A branch_filterblock as defined above.
- DaysTo []stringBuilds 
- A list of days to build on.
- ScheduleJob stringId 
- The ID of the schedule job.
- ScheduleOnly boolWith Changes 
- Schedule builds if the source or pipeline has changed.
- StartHours int
- Build start hour.
- StartMinutes int
- Build start minute.
- TimeZone string
- Build time zone.
- branchFilters List<GetBuild Definition Schedule Branch Filter> 
- A branch_filterblock as defined above.
- daysTo List<String>Builds 
- A list of days to build on.
- scheduleJob StringId 
- The ID of the schedule job.
- scheduleOnly BooleanWith Changes 
- Schedule builds if the source or pipeline has changed.
- startHours Integer
- Build start hour.
- startMinutes Integer
- Build start minute.
- timeZone String
- Build time zone.
- branchFilters GetBuild Definition Schedule Branch Filter[] 
- A branch_filterblock as defined above.
- daysTo string[]Builds 
- A list of days to build on.
- scheduleJob stringId 
- The ID of the schedule job.
- scheduleOnly booleanWith Changes 
- Schedule builds if the source or pipeline has changed.
- startHours number
- Build start hour.
- startMinutes number
- Build start minute.
- timeZone string
- Build time zone.
- branch_filters Sequence[GetBuild Definition Schedule Branch Filter] 
- A branch_filterblock as defined above.
- days_to_ Sequence[str]builds 
- A list of days to build on.
- schedule_job_ strid 
- The ID of the schedule job.
- schedule_only_ boolwith_ changes 
- Schedule builds if the source or pipeline has changed.
- start_hours int
- Build start hour.
- start_minutes int
- Build start minute.
- time_zone str
- Build time zone.
- branchFilters List<Property Map>
- A branch_filterblock as defined above.
- daysTo List<String>Builds 
- A list of days to build on.
- scheduleJob StringId 
- The ID of the schedule job.
- scheduleOnly BooleanWith Changes 
- Schedule builds if the source or pipeline has changed.
- startHours Number
- Build start hour.
- startMinutes Number
- Build start minute.
- timeZone String
- Build time zone.
GetBuildDefinitionScheduleBranchFilter     
GetBuildDefinitionVariable   
- AllowOverride bool
- trueif the variable can be overridden.
- IsSecret bool
- trueif the variable is a secret.
- Name string
- The name of this Build Definition.
- SecretValue string
- The secret value of the variable.
- Value string
- The value of the variable.
- AllowOverride bool
- trueif the variable can be overridden.
- IsSecret bool
- trueif the variable is a secret.
- Name string
- The name of this Build Definition.
- SecretValue string
- The secret value of the variable.
- Value string
- The value of the variable.
- allowOverride Boolean
- trueif the variable can be overridden.
- isSecret Boolean
- trueif the variable is a secret.
- name String
- The name of this Build Definition.
- secretValue String
- The secret value of the variable.
- value String
- The value of the variable.
- allowOverride boolean
- trueif the variable can be overridden.
- isSecret boolean
- trueif the variable is a secret.
- name string
- The name of this Build Definition.
- secretValue string
- The secret value of the variable.
- value string
- The value of the variable.
- allow_override bool
- trueif the variable can be overridden.
- is_secret bool
- trueif the variable is a secret.
- name str
- The name of this Build Definition.
- secret_value str
- The secret value of the variable.
- value str
- The value of the variable.
- allowOverride Boolean
- trueif the variable can be overridden.
- isSecret Boolean
- trueif the variable is a secret.
- name String
- The name of this Build Definition.
- secretValue String
- The secret value of the variable.
- value String
- The value of the variable.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azuredevopsTerraform Provider.