Difference between revisions of "Azure pipelines: checkout:"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | steps: | + | [[steps:]] |
− | - checkout: | + | - checkout: [self|none|your_repo_name] # Required as first property. Alias of the repository resource to check out or 'none'. |
− | clean: | + | clean: [true|false] # Scorch the repo before fetching?. (true, false) |
fetchDepth: string # Depth of Git graph to fetch. | fetchDepth: string # Depth of Git graph to fetch. | ||
lfs: string # Fetch Git-LFS objects?. | lfs: string # Fetch Git-LFS objects?. | ||
− | [[persistCredentials:]] string | + | [[persistCredentials:]] string # Keep credentials available for later use?. |
submodules: string # Check out Git submodules?. | submodules: string # Check out Git submodules?. | ||
− | path: string # Path of the repository to check out. | + | path: string # Path of the repository to check out. |
− | condition: string # Evaluate this condition expression to determine whether to run this task. | + | condition: string # Evaluate this condition expression to determine whether to run this task. |
− | continueOnError: boolean # Continue running even on failure?. (false,n,no,off,on,true,y,yes) | + | continueOnError: boolean # Continue running even on failure?. (false,n,no,off,on,true,y,yes) |
− | displayName: string # Human-readable name for the task. | + | displayName: string # Human-readable name for the task. |
− | target: stepTarget # Environment in which to run this task | + | target: stepTarget # Environment in which to run this task |
− | enabled: boolean # Run this task when the job runs?. (false,n,no,off,on,true,y,yes) | + | enabled: boolean # Run this task when the job runs?. (false,n,no,off,on,true,y,yes) |
− | env: | + | env: # Variables to map into the process's environment |
− | string: string # Name/value pairs. | + | string: string # Name/value pairs. |
− | name: string # ID of the step. ([-_A-Za-z0-9]*) | + | name: string # ID of the step. ([-_A-Za-z0-9]*) |
− | timeoutInMinutes: string # Time to wait for this task to complete before the server kills it. | + | timeoutInMinutes: string # Time to wait for this task to complete before the server kills it. |
+ | |||
+ | == Related == | ||
+ | * <code>[[task:]]</code> | ||
== See also == | == See also == |
Latest revision as of 10:54, 13 March 2022
steps: - checkout: [self|none|your_repo_name] # Required as first property. Alias of the repository resource to check out or 'none'. clean: [true|false] # Scorch the repo before fetching?. (true, false) fetchDepth: string # Depth of Git graph to fetch. lfs: string # Fetch Git-LFS objects?. persistCredentials: string # Keep credentials available for later use?. submodules: string # Check out Git submodules?. path: string # Path of the repository to check out. condition: string # Evaluate this condition expression to determine whether to run this task. continueOnError: boolean # Continue running even on failure?. (false,n,no,off,on,true,y,yes) displayName: string # Human-readable name for the task. target: stepTarget # Environment in which to run this task enabled: boolean # Run this task when the job runs?. (false,n,no,off,on,true,y,yes) env: # Variables to map into the process's environment string: string # Name/value pairs. name: string # ID of the step. ([-_A-Za-z0-9]*) timeoutInMinutes: string # Time to wait for this task to complete before the server kills it.
Related[edit]
See also[edit]
- Azure Pipelines:
az pipelines
,trigger:, stages:
,variables:, parameters:,
inputs:
,group:
,template:
,jobs:
,job:
,steps:
,dependsOn:
,task:
,condition:
,resources:
,pool:
,stage:
,extends:
,deployment:, scriptType:, inlineScript:, repositories:, pr:, repository:, type:
, Default Azure Pipeline, Azure Pipeline Library, Azure Pipeline Job full syntax
Advertising: