XrayScan - YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

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

XrayScan

pipelines:
  - name:   <string>
    steps:
      - name: scan
        type: XrayScan
        configuration:
          #inherits all the tags from bash
          failOnScan:       <boolean>                      # default true
          inputResources:
            - name:         <BuildInfo resource>           # required
              trigger: false
                  outputResources:
            - name:         <BuildInfo resource>           # optional

        execution:
          onStart:
            - echo "Preparing for work..."
            - echo "Prepping build environment"
          onSuccess:
            - echo "Job well done!"
          onFailure:
            - echo "uh oh, something went wrong"
          onComplete: #always
            - echo "Cleaning up some stuff"