Reputation: 975
I have a Build definition that creates a label on successful build. I want to be able to delete the build, but retain the label.
How can i retain labels and be able to delete builds?
Upvotes: 0
Views: 369
Reputation: 29976
When you delete a vNext build manually, all the information will be deleted as the dialog indicated even though you have disabled "Delete source label" option.
There isn't any way to change this for now. You can submit a feature request for this as Cece's suggestion.
However, if you do want this feature for now, try with XMAL build system which allow you to choose what to keep when delete a build:
Upvotes: 0
Reputation: 31093
I could reproduce your scenario. Even uncheck the "delete source label" option in Default Retention Policy. When manually delete "retain indefinitely" builds, the label is still deleted.
You can consider submitting a UserVoice at website below:
https://visualstudio.uservoice.com/forums/121579-visual-studio-2015
Upvotes: 1