Delen via


steps.downloadBuild definition

Met de downloadBuild stap downloadt u buildartefacten.

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.

Definities die naar deze definitie verwijzen: stappen

Eigenschappen

downloadBuild tekenreeks. Vereist als eerste eigenschap.
-id voor de buildresource.

artifact tekenreeks.
artefactnaam.

path tekenreeks.
pad om het artefact naar te downloaden.

patterns tekenreeks.
Downloadt de bestanden die overeenkomen met de patronen.

condition tekenreeks.
Evalueer deze voorwaardeexpressie om te bepalen of deze taak moet worden uitgevoerd.

continueOnError booleaanse.
Doorgaan met uitvoeren, zelfs bij een fout?

displayName tekenreeks.
leesbare naam voor de taak.

target doel.
Omgeving waarin deze taak moet worden uitgevoerd.

enabled booleaanse.
Deze taak uitvoeren wanneer de taak wordt uitgevoerd?

env tekenreekswoordenlijst.
variabelen die moeten worden toegewezen aan de omgeving van het proces.

name tekenreeks.
id van de stap. Acceptabele waarden: [-_A-Za-z0-9]*.

timeoutInMinutes tekenreeks.
Tijd om te wachten tot deze taak is voltooid voordat de server deze doodt.

Notitie

Pijplijnen kunnen worden geconfigureerd met een time-out op taakniveau. Als het time-outinterval op taakniveau is verstreken voordat de stap is voltooid, wordt de actieve taak (inclusief uw stap) beƫindigd, zelfs als de stap is geconfigureerd met een langer timeoutInMinutes interval. Zie Time-outsvoor meer informatie.

retryCountOnTaskFailure tekenreeks.
aantal nieuwe pogingen als de taak mislukt.

Opmerkingen

Het trefwoord downloadBuild is een snelkoppeling voor de Build Artifacts-taak downloaden.

Notitie

Het pijplijnteam raadt aan een upgrade uit te voeren van downloadBuild (buildartefactentaak downloaden) om te downloaden (taak pijplijnartefacten downloaden) voor snellere prestaties.

Zie ook