jfrog_create_local_repository
Set up a local repository in JFrog Artifactory with specific configurations, including package type, project key, and assigned environments, for efficient artifact management.
Instructions
Create a new local repository in artifactroy
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Repository description | |
environments | No | Environments to assign the repository to | |
key | Yes | the key of the repository | |
packageType | Yes | Package type of the repository | |
projectKey | No | Project key to assign the repository to | |
rclass | Yes | The repository type |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Repository description",
"type": "string"
},
"environments": {
"description": "Environments to assign the repository to",
"items": {
"type": "string"
},
"type": "array"
},
"key": {
"description": "the key of the repository",
"type": "string"
},
"packageType": {
"description": "Package type of the repository",
"enum": [
"bower",
"cargo",
"chef",
"cocoapods",
"composer",
"conan",
"cran",
"debian",
"docker",
"Npm",
"gems",
"gitlfs",
"go",
"gradle",
"helm",
"ivy",
"maven",
"nuget",
"opkg",
"p2",
"pub",
"puppet",
"pypi",
"rpm",
"sbt",
"swift",
"terraform",
"vagrant",
"yum",
"generic"
],
"type": "string"
},
"projectKey": {
"description": "Project key to assign the repository to",
"type": "string"
},
"rclass": {
"const": "local",
"description": "The repository type",
"type": "string"
}
},
"required": [
"key",
"rclass",
"packageType"
],
"type": "object"
}