Bug 15937

Summary: Terminate release builds if output directory already exists
Product: [Infrastructure] AutoBuilder Reporter: Steve Sakoman <steve>
Component: autobuilderAssignee: Yoann Congal <yoann.congal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: infras.ab.watcher, Infras.watcher, pidge
Version: unspecified   
Target Milestone: 6.1 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Steve Sakoman 2025-07-23 15:21:39 UTC
We've had a couple of occasions where release builds were mistakenly re-built, which messes up the test reports for the release.

Prevent this by terminating the build with an error if the output directory already exists.