AWS Thinkbox Discussion Forums

OverrideAutoJobCleanup vs OverrideJobCleanup

There seem to be two parameters to use when trying to override the per job cleanup behavior:

OverrideAutoJobCleanup
OverrideJobCleanup

Which one is the one that should be used?

cheers
laszlo

Yeah, it’s a bit confusing. OverrideJobCleanup existed first, and when we added OverrideAutoJobCleanup, we didn’t want to change OverrideJobCleanup to avoid breaking backward compatibility.

OverrideAutoJobCleanup: This must be enabled if you want to override the automatic job cleanup settings that are in the Repository Options.

OverrideJobCleanup: This must be enabled if you want to override the number of days before the job gets cleaned up.

If OverrideAutoJobCleanup is disabled, then OverrideJobCleanup is simply ignored.

Cheers,
Ryan

Ah, makes sense! Thanks!

Privacy | Site terms | Cookie preferences