Generic build integration provides Build Info support for any build type. This allows custom builds, such as non-Java builds to:
Upload any artifacts to Artifactory, together with custom properties metadata, and keep published artifacts associated with the Jenkins build.
Download artifacts from Artifactory that are required by your build.
You can define the artifacts to upload and download by using 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.
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.
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.