Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14901

Unable to set groups in rpm repository creation API

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST API, RPM
    • Labels:
      None

      Description

      Trying to create RPM repository with groups xml file succeed, but the groups field is not set.

      To reproduce:

      curl -X PUT -uadmin:password \
        http://localhost:32914/artifactory/api/repositories/yum-test \
        -H 'content-type: application/json' \
        -d '{
      	"key": "yum-test",
      	"rclass": "local",
      	"packageType": "rpm",
      	"yumRootDepth": 1,
      	"groupFileNames": "groups.xml"
      }'
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              matank Matan Katz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: