Configure Generic (Freestyle) Builds for the the Jenkins Artifactory Plugin

JFrog Integrations Documentation

Content Type
Integrations
ft:sourceType
Paligo

Generic build integration provides Build Info support for any build type. This allows custom builds, such as non-Java builds to:

  1. Upload any artifacts to Artifactory, together with custom properties metadata, and keep published artifacts associated with the Jenkins build.

  2. Download artifacts from Artifactory that are required by your build.

You can define the artifacts to upload and download by using File Specs.

File Specs

File Spec are specified in JSON format.

You can use File Specs in one of the following ways:

You can read the File Spec schema here.

  1. Manage them in your SCM, and then during the build, have them pulled to the workspace with the other sources. If you choose this option, you should select the "File" option in the "Upload spec source" or "Download spec source" field and specify the relative path to the File Spec in your workspace.

  2. Save the File Spec JSON as part of the job configuration. If you choose this option, you should select the "Job configuration" option in the "Upload spec source" or "Download spec source" field and specify the File Spec JSON content in your workspace in the "File path" field.