I am using Jenkins and the Generic Artifactory Plugin to publish artifacts to
Artifactory Pro and am not seeing what I expect with Dependencies.

If I resolve artifacts using a link directly to a module, i.e.
> repo:com/company/department/module/*.db

Then the build JSON shows a dependencies section under the module and lists
the sha1/md5 hash of the dependency as expected. This is shown visually in
the Artifactory Pro web site as a Dependency.

If however I refer to the build name in the dependency, i.e.
> repo:com/company/department/module/*.db@BUILDNAME#LATEST

Then the build JSON shows an empty dependencies section under the module and
instead adds a buildDependencies section with the dependency details. This
is not reflected in the Artifactory Pro web interface nor via API calls such
as '/api/search/dependency?sha1='

In practice it looks like the buildDependencies section of information is
useless. Perhaps there is supposed to be code that expands the modules noted
in this section and populates the regular dependencies JSON?

There looks like there is an open issue for this:
https://www.jfrog.com/jira/browse/HAP-517?jql=project%20%3D%20HAP%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC

However I don't see any movement of information. I also don't see anything
in the Artifactory Wiki or other forum posts etc.

Am I missing something here or is it simply not possible to pull in
dependencies into a build using the latest artifact from a specific build?

Thanks!







--
View this message in context: 
http://forums.jfrog.org/Dependencies-vs-Build-Dependencies-tp7580119.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to