1
votes

I am having a problem where I am trying to deploy non-Java artifacts (C++ built DLL) to Artifactory for inclusion in a Java application install.

I am using Jenkins and Gradle with the 'cpp' and 'maven' plugin to build the C++ libraries for the project and create the pom.xml.

I can't seem to get the DLL artifacts to deploy. I am using Artifactory OSS 5.9.1.

EDIT: I am trying to use the Jenkins Artifactory plugin Below is the Artifactory settings we use for our Java projects and it works. Not sure what I should change for grabbing the built DLL

Screenshot of Jenkins Artifactory Plugin More settings

3

3 Answers

1
votes

You can use Jenkins-Artifactory plugin. With it you can (Choose one of):

  1. Build and upload files with Maven or Pipeline jobs.
  2. Upload the files with Generic or Pipeline jobs.
0
votes

Use the plugin:goal deploy:deploy-file:

Installs the artifact in the remote repository.

0
votes

So I found out that Artifactory OSS doesn't support c++ but there is Conan.io which is also by JFrog. The paid version of Artifactory includes support for Conan.io Probably going to try use Conan