0
0
Jenkinsdevops~5 mins

Artifact fingerprinting in Jenkins - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is artifact fingerprinting in Jenkins?
Artifact fingerprinting is a process Jenkins uses to track files (artifacts) across builds by creating a unique identifier (fingerprint) for each file. This helps trace where files are used or produced.
Click to reveal answer
beginner
How does Jenkins create a fingerprint for an artifact?
Jenkins creates a fingerprint by calculating a hash (like MD5) of the artifact file's content. This hash uniquely identifies the file regardless of its name or location.
Click to reveal answer
intermediate
Why is artifact fingerprinting useful in a CI/CD pipeline?
It helps track which builds produced or used a specific artifact, enabling traceability, debugging, and ensuring the right versions of files are deployed.
Click to reveal answer
beginner
How do you enable artifact fingerprinting in a Jenkins job?
In the Jenkins job configuration, under 'Post-build Actions', select 'Record fingerprints of files to track' and specify the files or patterns to fingerprint.
Click to reveal answer
intermediate
What information can you find from a fingerprint record in Jenkins?
You can see which builds produced or used the artifact, the file's hash, and its history across jobs, helping to understand artifact flow.
Click to reveal answer
What does Jenkins use to uniquely identify an artifact file?
AThe file size
BThe file name only
CA hash of the file content
DThe build number
Where do you configure artifact fingerprinting in a Jenkins job?
APost-build Actions
BBuild Triggers
CSource Code Management
DBuild Environment
What is a main benefit of artifact fingerprinting?
ASpeeding up build time
BTracking artifact usage across builds
CCompressing artifacts
DChanging artifact names automatically
Which of these is NOT true about artifact fingerprints?
AThey depend on the file's location on disk
BThey are based on file content
CThey help trace artifact history
DThey are stored in Jenkins for tracking
If two files have the same fingerprint, what does it mean?
AThey are stored in the same folder
BThey have the same file name
CThey were created in the same build
DThey have identical content
Explain how artifact fingerprinting helps in tracking files across Jenkins builds.
Think about how Jenkins knows which build created or used a file.
You got /4 concepts.
    Describe the steps to enable artifact fingerprinting in a Jenkins job.
    Where in the job settings do you add fingerprinting?
    You got /4 concepts.