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 |
---|---|---|
| mandatory | The build from which to get artifacts. |
| mandatory (see note) | The build number from which to get artifacts. Use |
| mandatory (see note) | The build status from which to get artifacts. ImportantYou can define either the |
| optional | The repository where the build is located. |
| optional | The project related to the build. |
| optional | When set, limits the search to the repositories defined here. |
| mandatory | The archive type to send back to the user. Options include: |
| optional | Refines the search using a list of regexp input and output patterns. |