Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.4.4, 4.0.1
Description
Steps to reproduce:
- Disable Global Expiry (Admin >> Plans >> Build Expiry, mark 'Disable Global Build Expiry', and click 'Save')
- Run a plan multiple times
- Open some build results (Dashboard >> Plan name >> Build result number) and add some labels in lowercase, like: persist keep donotdelete
- Edit the plan, and go to Miscellaneous tab
- Mark 'Don't expire builds with certain labels', enter PERSIST KEEP DONOTDELETE in the 'Labels to keep' field, and click 'Save'
- Go to Admin >> Plans >> Build Expiry, and force Build Expiry to run using the 'Run' button.
- The build results you entered labels in step 3 above were deleted.
If you had entered lowercased labels in step 5 above, the build results you entered labels in step 3 above wouldn't have been deleted.
This proves that "Labels to keep" field is case sensitive.
The workaround is to ensure the labels are always entered in lowercase.
Attachments
Issue Links
- copied to
-
BDEV-833 Loading...