validate_artifact

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Validates the signature of an artifact. Requires signed pipelines to be enabled.

Usage

Shell

Function

Bash

validate_artifact <artifact type> <file path> [--build-name <build name> --build-number <build number> --project-key <project key>]

PowerShell

validate_artifact <artifact type> <file path> [-build-name <build name> -build-number <build number> -project-key <project key>]

  • artifact type: This is the type of artifact. Supports buildinfo.

  • file path: This is the path to the metadata file to be validated.

Bash

PowerShell

Description

--build-name

-build-name

This is name of the build. Required when artifact type is buildInfo.

--build-number

-build-number

This is number of the build. Required when artifact type is buildInfo.

--project-key

-project-key

(optional) Defaults to the environment's project_key. Can be specified to validate info for a different project.