pub struct AdoStep {Show 14 fields
pub task: Option<String>,
pub script: Option<String>,
pub bash: Option<String>,
pub powershell: Option<String>,
pub pwsh: Option<String>,
pub template: Option<String>,
pub display_name: Option<String>,
pub name: Option<String>,
pub env: Option<HashMap<String, Value>>,
pub inputs: Option<HashMap<String, Value>>,
pub checkout: Option<String>,
pub persist_credentials: Option<bool>,
pub condition: Option<String>,
pub depends_on: Option<DependsOn>,
}Fields§
§task: Option<String>Task reference e.g. AzureCLI@2
script: Option<String>Inline script (cmd/sh)
bash: Option<String>Inline bash script
powershell: Option<String>Inline PowerShell script
pwsh: Option<String>Cross-platform PowerShell
template: Option<String>Step-level template reference
display_name: Option<String>§name: Option<String>Legacy name alias
env: Option<HashMap<String, Value>>§inputs: Option<HashMap<String, Value>>Task inputs (key → value, but values may be nested)
checkout: Option<String>Checkout step target (e.g. self, a repo alias, or none)
persist_credentials: Option<bool>When true on a checkout step, writes credentials to .git/config for subsequent steps.
condition: Option<String>Step-level runtime gate. Evaluated by the agent before it dispatches
the step; when false the step is skipped (status: Skipped). Cannot be
statically evaluated — recorded as a Partial-Expression gap and stamped
onto the Step node via META_CONDITION, joined with any
stage/job-level conditions stacked above.
depends_on: Option<DependsOn>Step-level explicit dependsOn:. Rare on individual steps (more common
at job/stage level) but accepted by ADO; captured for symmetry.