Ignoring changes to a specific file when streaming on stream to another
We have two stream, one for our new work called MAIN and a maintenance stream for our last release called MAINTAINANCE.
MAINTAINANCE and MAIN both have a different build definition file for our internal build system called buildspec.xml. We want to stream MAIN from MAINTENANCE but ignore all changes to buildspec.xml. There does not seem to be a way to set this up such that we can accept all changes excluding those to buildspec.xml (which gets updated frequently) other than doing it manually or writing a script that ignores the change lists that include that pattern. Any insight would be appreicated. |
One answer
There is no built-in mechanism to ignore changes to a particular resource. A script would likely be the best option to inspect change sets and decide which ones to accept into your maintenance stream. It's also important that buildspec.xml is its own change sets everything in a change set must be accepted.
If possible, it would be better to separate the resources so that your buildspec.xml file is in a different component. It would be easier to deliver changes and ignore any changes from your component that has buildspec.xml. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.