tests/assets/BuildDefinition.json

{
        "triggers": [{
            "branchFilters": [],
            "pathFilters": [],
            "settingsSourceType": 2,
            "batchChanges": false,
            "maxConcurrentBuildsPerBranch": 1,
            "triggerType": "continuousIntegration"
        }],
        "properties": {},
        "tags": [],
        "_links": {
            "self": {
                "href": "https://dev.azure.com/tgits-code/_apis/build/Definitions/367?revision=1"
            },
            "web": {
                "href": "https://dev.azure.com/tgits-code/00000000-0000-0000-0000-000000000000/_build/definition?definitionId=367"
            },
            "editor": {
                "href": "https://dev.azure.com/tgits-code/00000000-0000-0000-0000-000000000000/_build/designer?id=367&_a=edit-build-definition"
            },
            "badge": {
                "href": "https://dev.azure.com/tgits-code/_apis/build/status/367"
            }
        },
        "jobAuthorizationScope": "projectCollection",
        "jobTimeoutInMinutes": 60,
        "jobCancelTimeoutInMinutes": 5,
        "process": {
            "yamlFilename": "/azure-pipelines.yaml",
            "type": 2
        },
        "repository": {
            "properties": {
                "cloneUrl": "https://tgits-code@dev.azure.com/tgits-code/devops/_git/tetris1",
                "fullName": "tetris1",
                "defaultBranch": "refs/heads/master",
                "isFork": "False",
                "safeRepository": "6e9569bd-5c78-47c9-bec1-76cad29dec8d",
                "reportBuildStatus": "true"
            },
            "id": "6e9569bd-5c78-47c9-bec1-76cad29dec8d",
            "type": "TfsGit",
            "name": "tetris1",
            "url": "https://dev.azure.com/tgits-code/devops/_git/tetris1",
            "defaultBranch": "refs/heads/master",
            "clean": null,
            "checkoutSubmodules": false
        },
        "quality": "definition",
        "drafts": [],
        "queue": {
            "_links": {
                "self": {
                    "href": "https://dev.azure.com/tgits-code/_apis/build/Queues/1643"
                }
            },
            "id": 1643,
            "name": "Hosted Ubuntu 1604",
            "url": "https://dev.azure.com/tgits-code/_apis/build/Queues/1643",
            "pool": {
                "id": 20,
                "name": "Hosted Ubuntu 1604",
                "isHosted": true
            }
        },
        "id": 367,
        "name": "tetris2",
        "url": "https://dev.azure.com/tgits-code/_apis/build/Definitions/367?revision=1",
        "uri": "vstfs:///Build/Definition/367",
        "path": "\\",
        "type": "build",
        "queueStatus": "enabled",
        "revision": 1,
        "createdDate": "2019-07-16T11:47:14.48Z",
        "project": {
            "id": "88a1ccc1-8e26-4c7c-a8af-31eb27ecec57",
            "name": "devops",
            "state": "unchanged",
            "visibility": "unchanged",
            "lastUpdateTime": "0001-01-01T00:00:00"
        },
    "variables": {},
    "variableGroups": []
     
    }