Using the artifactory plugin.
When I rebuild a jenkins job and deploy to jfrog, I see this in the build info json: [image: enter image description here] <https://i.stack.imgur.com/7p6jy.png> Super useful to me and I cant find how to get that in the jenkins pipeline anywhere- its the job from which it was rebuilt. So when I rebuild a job from an old build this value is the number of the build I rebuilt it from. How do I get that in my pipeline? I look in the build info object but its not there: def artifactory = Artifactory.server 'myserver.jfrog.io' def buildInfo = Artifactory.newBuildInfo() echo buildInfo.dump() How does the plugin even get this info? Its no where in the env vars I can find and I havent seen any examples of how to get it. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5ad01da6-f7fb-450b-bff9-8a831121e69c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
