Repository with Project
We can assign new repository with a project when the repository created.
This Rest API can be deployed the combination with project-key and repository-key
PUT http://127.0.0.1:8082/artifactory/api/repositories/artifacthu-pg01
{
"projectKey": "artifacthu",
"rclass" : "local",
"packageType": "alpine"
}
The results shown as below.
[Repository information]
[Repository on Project information]