Ah. Sounds like you're working with freestyle or matrix jobs. Those need to have the "Record fingerprints to track usage" option configured explicitly in the projects. It doesn't happen automatically like it does for Maven projects.
-- Dean On 5/14/13 8:18 AM, "Chris Withers" <[email protected]> wrote: >Hi All, > >I see I can find out the fingerprints created in a build using: > >build.getBuildFingerprints() > >First question: How I can go from a Fingerprint instance (as in the >sequence returned build getBuildFingerprints) to the build instances >referenced by that fingerprint? > >Second question: how can I go in other direction? I have a Build >instance obtained with: > >for (item in Jenkins.instance.items) { > build = build.getLastBuild() >} > >How can I find out what fingerprints were used in this build? >I want to know so I can go and find the job that originated the >fingerprinted artifact and get a list of the SCM changes that >contributed to it. > >Apologies for the clumsiness above, neither Groovy nor Java are my first >language... > >Chris > >-- >Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk > >-- >You received this message because you are subscribed to the Google Groups >"Jenkins Developers" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
