PostMatrix - Usage

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

The YAML schema for PostMatrix native step is as shown below. For more information on PostMatrix Pipeline steps, see PostMatrix.

FanIn

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"