PublishBuildInfo - YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

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

PublishBuildInfo

pipelines:
  - name:   <string>
    steps:
      - name: <string>
        type: PublishBuildInfo
        configuration:
          #inherits all the tags from bash
          envInclude:       <string>   
          envExclude:       <string>   
          forceXrayScan:    <boolean>    # default false
          failOnScan:       <boolean>    # default true

          inputSteps:
            - name:         <any of the build steps or Bash step>  # required
          outputResources:
            - name:         <BuildInfo resource>                             # required


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