templates/buildDefinitionTemplate.json

{
    "name": "tgits-template",
    "description": "",
    "template": {
        "triggers": [{
            "branchFilters": [],
            "pathFilters": [],
            "settingsSourceType": 2,
            "batchChanges": false,
            "maxConcurrentBuildsPerBranch": 1,
            "triggerType": 2
        }],
        "properties": {},
        "tags": [],
        "_links": {
            "self": {
                "href": "https://dev.azure.com/tgits-code/88a1ccc1-8e26-4c7c-a8af-31eb27ecec57/_apis/build/Definitions/367?revision=1"
            },
            "web": {
                "href": "https://dev.azure.com/tgits-code/88a1ccc1-8e26-4c7c-a8af-31eb27ecec57/_build/definition?definitionId=367"
            },
            "editor": {
                "href": "https://dev.azure.com/tgits-code/88a1ccc1-8e26-4c7c-a8af-31eb27ecec57/_build/designer?id=367&_a=edit-build-definition"
            },
            "badge": {
                "href": "https://dev.azure.com/tgits-code/88a1ccc1-8e26-4c7c-a8af-31eb27ecec57/_apis/build/status/367"
            }
        },
        "jobAuthorizationScope": 1,
        "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": 1,
        "authoredBy": {
            "displayName": "acotrez",
            "url": "https://app.vssps.visualstudio.com/A7ec1c3fc-8d29-4313-9db5-dd6598c70dd8/_apis/Identities/cd4a7d66-2b6f-6bcb-82dc-d48850a80a46",
            "_links": {
                "avatar": {
                    "href": "https://dev.azure.com/tgits-code/_apis/GraphProfile/MemberAvatars/aad.Y2Q0YTdkNjYtMmI2Zi03YmNiLTgyZGMtZDQ4ODUwYTgwYTQ2"
                }
            },
            "id": "cd4a7d66-2b6f-6bcb-82dc-d48850a80a46",
            "uniqueName": "acotrez@nelite.com",
            "imageUrl": "https://dev.azure.com/tgits-code/_apis/GraphProfile/MemberAvatars/aad.Y2Q0YTdkNjYtMmI2Zi03YmNiLTgyZGMtZDQ4ODUwYTgwYTQ2",
            "descriptor": "aad.Y2Q0YTdkNjYtMmI2Zi03YmNiLTgyZGMtZDQ4ODUwYTgwYTQ2"
        },
        "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": "tetris1",
        "url": "https://dev.azure.com/tgits-code/88a1ccc1-8e26-4c7c-a8af-31eb27ecec57/_apis/build/Definitions/367?revision=1",
        "uri": "vstfs:///Build/Definition/367",
        "path": "\\",
        "type": 2,
        "queueStatus": 0,
        "revision": 1,
        "createdDate": "2019-07-16T11:47:14.480Z",
        "project": {
            "id": "88a1ccc1-8e26-4c7c-a8af-31eb27ecec57",
            "name": "devops",
            "url": "https://dev.azure.com/tgits-code/_apis/projects/88a1ccc1-8e26-4c7c-a8af-31eb27ecec57",
            "state": 1,
            "revision": 2382,
            "visibility": 0,
            "lastUpdateTime": "2019-07-15T15:43:05.667Z"
        }
    }
}