I'm in the process of creating some custom pipeline tasks for Azure DevOps build and release. I've hit some gotchas that hopefully I (and you!) can avoid. Some of these are undocumented, some are documented but maybe not so easy to find. You can't put your task.json in the root of the repo.