Build Artifacts Request JSON

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

The Build Artifacts Request JSON is consumed by the following REST API endpoints:

{
  "buildName": "build-name",
  "buildNumber": "",
  "buildStatus": "Released",
  "buildRepo": "",
  "project": "Catalina",
  "repos": [ "lib-release-local", "ext-release-local" ],
  "archiveType": "tar.gz",
  "mappings": [ { "input": "(.+)/(.+)-sources.jar", "output": "$1/sources/$2.jar" }, { "input": "(.+)-release.zip", "output": "" } ]
}

Property

Required

Description

buildName

mandatory

The build from which to get artifacts.

buildNumber

mandatory (see note)

The build number from which to get artifacts. Use LATEST to use the latest build.

buildStatus

mandatory (see note)

The build status from which to get artifacts.

Important

You can define either the buildNumber or the buildStatus, but not both.

buildRepo

optional

The repository where the build is located.

project

optional

The project related to the build.Projects

repos

optional

When set, limits the search to the repositories defined here.

archiveType

mandatory

The archive type to send back to the user. Options include: zip, tar, tar.gz, tgz, tar.bz2

mappings

optional

Refines the search using a list of regexp input and output patterns.