Artifactory "build info not found" in CI
A jf operation looked up build info by name and number and found none. The build was never published, or the name/number does not match what was published.
What this error means
A jf rt build-promote, jf build-scan, or jf rt download --build step fails with "Build ... not found" or "No build was found for build name and number".
jf
[Error] Artifactory response: 404 Not Found
No build was found for build name 'my-build' and number '11'.Common causes
The build was never published
A downstream step consumes build info that jf rt build-publish never ran for, so the lookup returns 404.
A mismatched build name or number
The consuming step uses a different name or number than the publish step, so it looks up a build that does not exist.
How to fix it
Publish before consuming the build
- Ensure
jf rt build-publishruns before promote, scan, or build download. - Use identical name and number across publish and consume steps.
- Re-run so the consuming step finds the published build.
Terminal
jf rt build-publish my-build ${{ github.run_number }}
jf rt build-promote my-build ${{ github.run_number }} libs-release-localList builds to confirm the name and number
Query Artifactory for the published builds to verify the exact name and number the downstream step should use.
Terminal
jf rt curl -XGET "/api/build/my-build"How to prevent it
- Publish build info before any step that consumes it.
- Share the build name and number via env vars across jobs.
- Derive the number from the CI run to keep it consistent.
Related guides
JFrog "jf rt build-publish failed" in CIFix "jf rt build-publish failed" in CI - the build info could not be published because no build parts were co…
JFrog Xray "scan failed" in CIFix JFrog Xray "scan failed" in CI - the jf scan or build-scan could not complete because the index was incom…
Artifactory "409 Conflict" immutable / existing artifact in CIFix Artifactory "409 Conflict" in CI - a release repo blocks overwriting an existing artifact, so republishin…