The PostMatrix generic step may be used to perform post-execution tasks following a Matrix step.
The PostMatrix step is optional for use with Matrix builds. For more information, see Using the Matrix Step.
pipelines: - name: <string> steps: - name: <string> type: PostMatrix configuration: # inherits Bash config, except affinityGroup and outputResources execution: onStart: - echo "Preparing for work..." onExecute: # required - echo "this is a PostMatrix step" onSuccess: - echo "Job well done!" onFailure: - echo "uh oh, something went wrong" onComplete: #always - echo "Cleaning up some stuff"
An alphanumeric string (underscores are permitted) that identifies the step.
PostMatrix for this step type.
Specifies all configuration selections for the step's execution environment. This step inherits the Bash/ PowerShell step configuration tags, except for thesetags, which are disallowed:
Declares collections of shell command sequences to perform for pre- and post-execution phases:
Description of usage
Commands to execute in advance of
Main commands to execute for the step
Commands to execute on successful completion
Commands to execute on failed completion
Commands to execute on any completion