Enabling fingerprinting on Ant/Ivy build.

186 views
Skip to first unread message

lewis john mcgibbney

unread,
Apr 7, 2012, 6:51:10 AM4/7/12
to Jenkins Users
Hi,

We currently have two Ant/Ivy builds for trunk [0] and a branch [1]
project. Trunk is absolutely fine, however we could really benefit
from enabling test aggregation on the Branch build.

I've tried searching the Jenkins wiki for how to enable fingerprinting
but have hit a dead end... I'm stumped.

The only hint that Jenkins gives me can be found here [2].

I would really appreciate any advice and/or direction on this one.

Kind Regards

Lewis

[0] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-trunk/
[1] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-nutchgora/
[2] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-nutchgora/lastCompletedBuild/aggregatedTestReport/

Sami Tikka

unread,
Apr 7, 2012, 3:48:03 PM4/7/12
to jenkins...@googlegroups.com
Check https://wiki.jenkins-ci.org/display/JENKINS/Fingerprint

Then for all the jobs that produce or use these build artifacts, you
open the configuration and check the box "Record fingerprints of ..."
and enter the file names.

E.g. you have a build that produces a library called libA. You would
configure it to record fingerprint for the file libA.

You have another build which gets libA from the build artifacts of the
above job. You could e.g. use the Copy Artifacts plugin to get it.
Then you configure the job to record fingerprint for the file libA.

Jenkins sees the same checksum in those two builds of those two jobs
and now it knows they have a dependency. The dependency is used in
test result aggregation.

-- Sami

2012/4/7 lewis john mcgibbney <lewis.m...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages