определение steps.downloadBuild
На шаге downloadBuild
скачиваются артефакты сборки.
steps:
- downloadBuild: string # Required as first property. Alias of the build resource.
artifact: string # Artifact name.
path: string # Path to download the artifact into.
patterns: string # Downloads the files which matches the patterns.
condition: string # Evaluate this condition expression to determine whether to run this task.
continueOnError: boolean # Continue running even on failure?
displayName: string # Human-readable name for the task.
target: string | target # Environment in which to run this task.
enabled: boolean # Run this task when the job runs?
env: # Variables to map into the process's environment.
string: string # Name/value pairs
name: string # ID of the step.
timeoutInMinutes: string # Time to wait for this task to complete before the server kills it.
retryCountOnTaskFailure: string # Number of retries if the task fails.
steps:
- downloadBuild: string # Required as first property. Alias of the build resource.
artifact: string # Artifact name.
path: string # Path to download the artifact into.
patterns: string # Downloads the files which matches the patterns.
condition: string # Evaluate this condition expression to determine whether to run this task.
continueOnError: boolean # Continue running even on failure?
displayName: string # Human-readable name for the task.
target: string | target # Environment in which to run this task.
enabled: boolean # Run this task when the job runs?
env: # Variables to map into the process's environment.
string: string # Name/value pairs
name: string # ID of the step.
timeoutInMinutes: string # Time to wait for this task to complete before the server kills it.
Определения, ссылающиеся на это определение: шаги
Свойства
строка downloadBuild
. Обязательный в качестве первого свойства.
идентификатор ресурса сборки.
строка artifact
.
имя артефакта.
строка path
.
Путь для скачивания артефакта в.
строка patterns
.
загружает файлы, соответствующие шаблонам.
строка condition
.
оценить это выражение условия, чтобы определить, следует ли выполнять эту задачу.
continueOnError
логические.
Продолжить работу даже при сбое?
строка displayName
.
имя, доступное для чтения для задачи.
target
целевой.
среда, в которой выполняется эта задача.
enabled
логические.
запустить эту задачу при выполнении задания?
env
словарь строк.
Переменные для сопоставления с средой процесса.
строка name
.
идентификатор шага. Допустимые значения: [-_A-Za-z0-9]*.
строка timeoutInMinutes
.
время ожидания завершения этой задачи до того, как сервер убьет его.
Примечание.
Конвейеры могут быть настроены с временем ожидания уровня задания. Если интервал времени ожидания задания истекает до завершения шага, выполнение задания (включая шаг) завершается, даже если шаг настроен с более длинным интервалом timeoutInMinutes
. Дополнительные сведения см. в разделе "Время ожидания".
строка retryCountOnTaskFailure
.
число повторных попыток, если задача завершается ошибкой.
Замечания
Ключевое слово downloadBuild
— это ярлык для задачи загрузки артефактов сборки.
Примечание.
Команда конвейеров рекомендует обновить downloadBuild
(скачать задачу артефактов сборки), чтобы скачать (задача скачивания артефактов конвейера) для повышения производительности.