Simple use of Jenkins file Fingerprinting

Source: Internet
Author: User
When checking Jenkins function introduction again on the official Jenkins website, we can see 10 features, which are the most unfamiliar with the file fingerprinting feature. I have been using Jenkins for a long time. I have known this feature before, but I have never practiced it. I'm curious, so I tried it and recorded it.
File fingerprinting: File Fingerprinting: Jenkins can keep track of which build produced which jars, and which build is using which version of jars, and so on. this works even for jars that are produced outside Jenkins, and is ideal for projects to track dependency.
Translation: Jenkins can track which build generates the jar and which build uses the jar. This even applies to jar generated outside of Jenkins and is a model of Project dependency tracking.
How to Set fingerprints?Job → configuration → post-build operations → add post-build operation steps → record fingerprints of files to track usage
How does fingerprints work?
  • The file fingerprint (fingerprints) is a simple MD5 checksum. Jenkins maintains an md5sum database, and for each md5sum, Jenkins records which projects and builds use it. The database is updated every time the build runs and the files are collected.
  • To avoid excessive disk usage, Jenkins does not store actual files. Instead, it only stores md5sum and its usage records. These files can be viewed in $ jenkins_home/fingerprints.
  • The plug-in can store additional information for these records. For example, deployment notification plugin tracks the files deployed to the server by Chef/puppet Through the file fingerprint (fingerprints.
How to Use fingerprints?<Jenkins_url >→ <job_name >→ <build_number> → see fingerprints (left-side navigation bar) can be viewed in this URL FingerprintsInformation: <jenkins_url>/<job_name>/<build_number>/fingerprints you can click the details link to view other information, such as using all projects and builds of the file, and the file source.


Official documents: https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins https://wiki.jenkins-ci.org/display/JENKINS/Fingerprint

Simple use of Jenkins file Fingerprinting

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.