Im a little confused about how this should work.
I have a jfrog maven repo
Right now in my jenkins pipeline Im just using mvn deploy to deploy to it
But i want to get build info too.
There is a jenkins plugin you access in a pipeline like this:
def artifactory = Artifactory.server 'my-jfrog.jfrog.io'
def buildInfo = Artifactory.newBuildInfo()
But then there is also a maven specific thing: def rtMaven = Artifactory.newMavenBuild()
It looks like if you use newMavenBuild() it runs mvn for you? I dont want that. I'd like to run my own mvn commands but also add jfrog build info for those package deploys- is this possible? Can I run mvn myself and also create build info for those?
rtMaven.run()runs mvn for you. 2. Why wouldn't you want that the plugin run mvn for you? - yahavi