Upload Artifacts to JFrog

Updated 3 months ago by Archana Singh

This topic provides settings to upload artifacts to JFrog Artifactory.

The following steps run SSH commands and push the artifacts to JFrog Artifactory.

In this topic:

Before you Begin

Step 1: Create the CI Stage

In your Harness Pipeline, click Add Stage, and then click CI.

Step 2: Define the Build Farm Infrastructure

In the CI stage Infrastructure, define the build farm for the codebase.

See Define Kubernetes Cluster Build Infrastructure.

Step 3: Configure the Run Step

In the stage's Execution, select Run.

The Run step executes one or more commands on a container image. See Configure Run Step

Step 4: Upload Artifacts to JFrog Artifactory

In the CI Artifact, select Upload Artifacts to JFrog Artifactory.

In this step, configure the Harness Artifactory Connector, enter the source file/path, and the target path. 

The JFrog Account associated with the Connector must have read/write permission. See Connector Settings Reference.

For the step Settings, see Upload Artifacts to JFrog Artifactory.

Step 5: View the Results

Save the Pipeline and click Run

You can see the logs for the Run and Upload step in the Pipeline as it runs.

In your Harness project's Builds, you can see the build listed.

On JFrog, you can see the file that you pushed.

See Also


Please Provide Feedback