vso-agent-tasks
vso-agent-tasks copied to clipboard
DbUpMigration - Pattern for selecting scripts to be selected as RunAlways
This would allow a scenario where you would be able to control the execution order of journaled and not journaled scripts.
As of now you can only make the order like first running a bunch of journalled scirpts and then running the not journaled scripts.
I have scripts in one folder and want to set order of execution of somes scripts before others as they are dependents on others...
Any Idea how to handle this kind of scenario in Dbup migration task ?
Is this really related to the RunAlways DbUp-feature?
Have you tried using setting the Script Execution Order-field?
- Filename => Scripts will be executed with
.OrderBy(i => i.Name) - File Path => Scripts will be executed with
.OrderBy(i => i.FullName) - Folder Structure => Scripts will be executed as is reported by
Directory.GetFiles(...).