steps.downloadBuild definition
Met de downloadBuild
stap worden buildartefacten gedownload.
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.
Definities die naar deze definitie verwijzen: stappen
Eigenschappen
downloadBuild
Tekenreeks. Vereist als eerste eigenschap.
Id voor de buildresource.
artifact
Tekenreeks.
Naam van artefact.
path
Tekenreeks.
Pad om het artefact naar te downloaden.
patterns
Tekenreeks.
Hiermee downloadt u de bestanden die overeenkomen met de patronen.
condition
Tekenreeks.
Evalueer deze voorwaardeexpressie om te bepalen of deze taak moet worden uitgevoerd.
continueOnError
Booleaanse waarde.
Doorgaan met uitvoeren, zelfs bij een fout?
displayName
Tekenreeks.
Door mensen leesbare naam voor de taak.
target
doel.
Omgeving waarin deze taak moet worden uitgevoerd.
enabled
Booleaanse waarde.
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 beëindigt.
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-outs voor meer informatie.
retryCountOnTaskFailure
Tekenreeks.
Aantal nieuwe pogingen als de taak mislukt.
Opmerkingen
Het downloadBuild
trefwoord is een snelkoppeling voor de taak Build Artifacts downloaden.
Notitie
Het pijplijnteam raadt aan om een upgrade uit te voeren van downloadBuild
(taak buildartefacten downloaden) om te downloaden (taak pijplijnartefacten downloaden) voor snellere prestaties.