Open bjompen opened 1 month ago
Bonus - and simpler.
Add pester to the verify pipeline to make sure all needed properties are in place.
For example: In projectName.json we must have the "project:{}
key set and the folder settings for repos, pipelines, and artifacts.
Verify the properties are there and if they are not, do not allow merge since the build will fail!
It should be fairly easy to set up pester tests that does basic pattern validation on all fields in the json templates. For example, a test case structure with something like this would make it fairly simple to add and validate the input before trying to run any code.