save_artifact_info

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Description

Saves metadata about an artifact. When saved, this metadata is used to enable signed pipelines for the artifacts.

Usage

Shell

Function

Bash

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

PowerShell

save_artifact_info <artifact type> <file path> [-build-name <build name> -build-number <build number> -release-bundle-name <name> -release-bundle-version <version> -project-key <project key>]

  • artifact type : This is the type of artifact. Either file, buildInfo, or releaseBundle.

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

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.

--release-bundle-name

-release-bundle-name

This is name of the Release Bundle. Required when artifact type is releaseBundle.

--release-bundle-version

-release-bundle-version

This is version of the Release Bundle. Required when artifact type is releaseBundle.

--project-key

-project-key

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