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

Packages from a local conan repository cannot be distributed to bintray

    Details

      Description

      With the default conan distribution rule we are unalbe to publish artifacts to bintray due to the following warnings and errors:

      "Failing rule default - No value present for token ${module} that was found in field 'package' for artifact development/core/opencv/0.0.1/stable/0/package/0ab9fcf606068d4347207cc29edd400ceccbc944/index.json"

      and

      "General Errors
       No valid paths to distribute to Bintray, aborting.
      File_development/core/opencv/0.0.1/stable/0/package/0ab9fcf606068d4347207cc29edd400ceccbc944/index.json_resulted with the following errors
      Coordinate Field package in rule 'default' contains tokens that were not matched: ${module}:${org} for artifact development/core/opencv/0.0.1/stable/0/package/0ab9fcf606068d4347207cc29edd400ceccbc944/index.json, failing this rule.
      Coordinate Field path in rule 'default' contains tokens that were not matched: ${artifactPath} for artifact development/core/opencv/0.0.1/stable/0/package/0ab9fcf606068d4347207cc29edd400ceccbc944/index.json, failing this rule.
      Coordinate Field version in rule 'default' contains tokens that were not matched: ${baseRev}:${channel} for artifact development/core/opencv/0.0.1/stable/0/package/0ab9fcf606068d4347207cc29edd400ceccbc944/index.json, failing this rule."
       
      Using regex based matching we were able to extract the required information but we still did not manage to publish to bintray. In this case the problem was that the we did not find a way to mirror the directory structure.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cconnert_swarm Christian Connert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: