GoPublishBinary - YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

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

GoPublishBinary

pipelines: 
  - name:   <string>
    steps:
      - name: <string>
        type: GoPublishBinary
        configuration:
          #inherits all the tags from bash

          forceXrayScan:                <boolean>  # optional
          failOnScan:           <boolean>  # default true
          autoPublishBuildInfo: <boolean>  # optional
          targetRepository:     <string>   # required
                  failOnValidate:       <boolean>  # optional (Signed Pipelines must be enabled)

          integrations:
            - name:         <artifactory integration>  # required if autoPublishBuildInfo is false
          outputResources:
            - name:         <BuildInfo resource>       # required if autoPublishBuildInfo is true
          inputSteps:
            - name:         <GoBuild, Bash, or PowerShell step> # 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"