Skip to content

Simple example on how to generate build info file with Conan for Artifactory

Notifications You must be signed in to change notification settings

czoido/conan-build-info-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conan-build-info-example


     liba
      /\
   libb libc
      \/
     libd
      |
   consumer

You need an artifactory instance running to upload packages

docker run --name artifactory-cpp -d -p 8081:8081 -p 8082:8082 docker.bintray.io/jfrog/artifactory-cpp-ce:latest

Then create a Conan local repo in Artifactory and add it to conan remotes with name artifactory

conan remote add artifactory http://localhost:8081/artifactory/api/conan/<name_of_the_local_repo>

Set the user and password for the repo

conan user admin -r artifactory -p password

Run the example: will remove the packages from cache and artifactory if already created. Will create a build info using a lockfile and the publishing it to Artifactory.

./run_example.sh

About

Simple example on how to generate build info file with Conan for Artifactory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published