Share via


steps.downloadBuild definition

El downloadBuild paso descarga artefactos de compilación.

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.
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.
  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.

Definiciones que hacen referencia a esta definición: pasos

Propiedades

downloadBuild Cadena. Obligatorio como primera propiedad.
Identificador del recurso de compilación.

artifact Cadena.
Nombre del artefacto.

path Cadena.
Ruta de acceso en la que descargar el artefacto.

patterns Cadena.
Descarga los archivos que coinciden con los patrones.

condition Cadena.
Evalúe esta expresión de condición para determinar si se va a ejecutar esta tarea.

continueOnErrorbooleano.
¿Sigue ejecutándose incluso en caso de error?

displayName Cadena.
Nombre legible para la tarea.

targettarget.
Entorno en el que se va a ejecutar esta tarea.

enabledbooleano.
¿Ejecuta esta tarea cuando se ejecuta el trabajo?

env diccionario de cadenas.
Variables que se van a asignar al entorno del proceso.

name Cadena.
Identificador del paso. Valores aceptables: [-_A-Za-z0-9]*.

timeoutInMinutes Cadena.
Tiempo de espera para que esta tarea se complete antes de que el servidor la mate.

Nota

Las canalizaciones se pueden configurar con un tiempo de espera de nivel de trabajo. Si el intervalo de tiempo de espera de nivel de trabajo transcurre antes de que se complete el paso, se finaliza el trabajo en ejecución (incluido el paso), incluso si el paso está configurado con un intervalo más largo timeoutInMinutes . Para obtener más información, consulte Tiempos de espera.

retryCountOnTaskFailure Cadena.
Número de reintentos si se produce un error en la tarea.

Observaciones

La downloadBuild palabra clave es un acceso directo para la tarea Descargar artefactos de compilación.

Nota

El equipo de canalizaciones recomienda actualizar desde downloadBuild (descargar la tarea de artefactos de compilación) para descargar (tarea descargar artefactos de canalización) para un rendimiento más rápido.

Consulte también