DevOpsInterviewPrep logo
← 🚀 Delivery & GitOps
Foundational

JFrog build-info and promotion evidence: keep the build record attached to artifact bytes

Distinguish uploaded repository files from published Artifactory build-info. Verify build identity, checksums and required evidence before promoting a candidate.

TL;DR: Uploading files and publishing build-info are separate parts of an Artifactory build integration. Use a consistent build identity and verify that its recorded artifacts match the tested bytes. A metadata record supports review; it does not independently prove a trustworthy build or passing release policy.

Files and their producing run have different records

A repository path can show a binary while the Builds view has no corresponding run. The upload may have succeeded without collecting or publishing build-info, or the UI may be scoped to another project. Inspect both the artifact and the build record before concluding that storage failed.

JFrog's build integration guide describes resolving dependencies, uploading outputs and publishing build-info under one build name and number. Its build-info reference explains modules, checksums, dependency evidence and separate build-info permissions.

rendering diagram…

Work a split identity

In this exercise, upload steps collect metadata under build name payments and number 71, but the publish step uses payments and number 72. The file exists while the expected run is incomplete. Reconcile the integration's configured identity across collection, upload and publication, then inspect the intended project scope.

Do not repair the review by inventing a passing record detached from the real job. Reconstruct only evidence actually available, or rerun the controlled build to produce a new candidate with complete provenance. Retain the distinction between source commit, CI execution and artifact checksum; each answers a different question.

EvidenceUseful questionLimit
Build name and numberWhich run is being reviewed?Naming alone does not authenticate the builder
Artifact checksumWhich bytes belong to the run?Does not establish test success
Dependency/module metadataWhat inputs were recorded?Completeness depends on integration
Test/scan/approval resultMay this candidate proceed?Must reference the same candidate and policy

Promotion must preserve the reviewed identity

A release process should select a specific candidate and verify the resulting destination contains those bytes. Copying or moving artifacts through a supported promotion operation is different from rebuilding source into a new artifact. Review the actual operation, package type and permission model before assuming it preserves every associated metadata field.

Use scoped automation identities: a build publisher needs different authority from a production promotion approver. Restrict who can overwrite candidate coordinates and who can change release status. A build-info record created by an untrusted job cannot certify itself as trustworthy merely by including a friendly property.

If environment collection is enabled, exclude sensitive values before publishing metadata. Do not indiscriminately capture the entire CI environment; it can contain credentials. An empty environment tab can be expected when collection is disabled and does not by itself mean build-info publication failed.

Self-check: the production artifact's checksum differs from the candidate listed in the approved build-info record. May the release be accepted because the filenames match? No. Reconcile the mismatch and obtain evidence for the actual bytes before deployment.

Practice the uploaded artifact missing from Builds alongside artifact promotion.

RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS