Optional. If configured, only the last specified number of builds will have their build logs persisted. This is useful if you have a job that runs periodically but after some amount of time the logs aren't worth keeping around.
Example:
jobs:
- name: smoke-tests
build_logs_to_retain: 100
plan:
- get: 10m
- task: smoke-tests
# ...