I'm still trying to figure out the best way to handle this scenario. Possibly I am trying to use fingerprints in a way they are not intended to be used.
Here's a new example using the same FileA and FileB from earlier examples. The 2 files have the same checksum and are in the same job. I call https://jenkinshost/fingerprint/49a681ceb33c90077fd3f49912c933ca/api/json and get fileName which is FileA. But I'm using the checksum from FileB. Should I just make sure the checksum is valid for the job and not worry about the filename differences? I really would appreciate input from anyone who is using Jenkins fingerprints to validate copy of artifacts. On Friday, August 4, 2017 at 1:13:24 PM UTC-7, Tammy Osborn wrote: > > I'm using the REST API to get fingerprints for a build's artifacts. It > seems that when there are files with the same checksum, only one of the > files is shown in the fingerprint array. I need a way to to find the > fingerprint for the other files as well. > > Example: FileA and FileB have same content and same checksum. FileA is in > the API fingerprint array but FileB is not. > > When I view FileB details from the Jenkins artifacts page, it shows FileA > and its fingerprint. So somewhere, there must be a link between FileB and > FileA. Where can I find that relationship? > > -- 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/b8732ac7-4491-45cc-a699-dddf12d50925%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
