Update Azure Pipelines build to use Ubuntu 18.04 and move triggers into YAML files (GH-21776)

2 files changed