0
votes

I have been uploading maven web projects artifacts with Jenkins CI to artifactory.

There is a .pom file along with the .war artifact.

Images

  1. For .pom file for first version

  2. For war file of first version

We can see that pom file "produced by" column displays total build info and for "war" it points accurately which build produced it.

So is there a way out to know who has created the .pom file?

My interest lies in knowing the details about non-artifact files(here it's a .pom it can really be anything from .txt to .zip!)

1
As you already mentioned the linked build ? In theory it can be a .txtor of course you can create a zip via Maven...But the question is what you have in mind? - khmarbaise
@khmarbaise I am planning to keep track of the jenkins builds which deployed .net projects in zip format. As my requirement is to maintain amalgam of maven and .net projects in artifactory. - Hitesh Sp
For .net Projects you should nuGet which is supported by for example Nexus....seemed to be a better choice than the Maven repository for .net components.. - khmarbaise
Thanks for the reply @khmarbaise. The issue comes for web apps in .net they are not bundled into a nuget package. As nugets are for class libs like dll's. Whereas for html css etc i have to maintain separately not like WAR in java - Hitesh Sp

1 Answers

0
votes

For "non arti-facts" as you mentionned (zip, html, mp4,...) you can use the JFrog cli to resolve things from artifactory as dependencies and publish them as generated artifacts and then publish the build information oject generated by the cli to artifactory. You can have a look to the documenatation here : https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory#CLIforJFrogArtifactory-CollectingBuildInformation