Using the artifactory plugin.
When I rebuild a jenkins job and deploy to jfrog, I see this in the build info json:
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()'BUILDINFO_PROPFILE' with the location of the generated build info properties file"--
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 jenkinsci-use...@googlegroups.com.
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.