[HAP-1026] Pipeline doesn't respect CONAN_USER_HOME Created: 23/Jan/18  Updated: 14/Mar/18  Resolved: 14/Mar/18

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.14.0
Fix Version/s: 2.15.0

Type: Bug Priority: Normal
Reporter: Mark Galpin Assignee: Yahav Itzhak
Resolution: Fixed Votes: 0
Labels: None


The create conan command from the Artifactory pipeline uses a temp directory that appears to come from the Java IO library. I can't think of a great way to clean up after a build, since the DSL does not seem to expose the path, and trying any kind of bulk erase on the temp directory might affect running jobs. It doesn't take too many builds of Boost to fill up a server's hard drive.

It would be ideal to be able to specify CONAN_USER_HOME and have the plugin respect it, so that you can make it a subdirectory of the workspace, and recreate the workspace on every build.

Somewhat related to this, I have to use "short_paths=True" in order to get Boost to build. Since this lives outside the workspace, I was wondering if there was an easy way to get this path in order to clean up after the job runs.


Comment by Luis Martínez de Bartolomé [ 02/Feb/18 ]

To go straight to the point, if CONAN_USER_HOME is already defined, use it, instead of use a new temp directory created by Java.

Comment by Yahav Itzhak [ 06/Mar/18 ]

Here is the link to the commit:
Here is a download link for a snapshot version which includes the fix:

Generated at Mon Jun 01 20:06:37 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.