PreMatrix - Usage

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

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

FanOut

pipelines:
  - name:   <string>
    steps:
      - name: <string>
        type: PreMatrix
        configuration: 
          # inherits Bash config, except affinityGroup and outputResources

        execution:
          onStart:
            - echo "Preparing for work..."
          onExecute:                                                    # required     
            - echo "this is a PreMatrix step"           
          onSuccess:
            - echo "Job well done!"
          onFailure:
            - echo "uh oh, something went wrong"
          onComplete: #always
            - echo "Cleaning up some stuff"