I am trying to create pipeline with source repo as GitHub enterprise using following api and body -
POST https://dev.azure.com/{org}/{project}/_apis/pipelines?api-version=6.0-preview.1
{
"configuration": {
"path": "azure-pipelines.yml",
"repository": {
"fullName": "GitUser/Repository",
"connection": {
"id": "xxxxxxx"
},
"type": "gitHubEnterprise"
},
"type": "yaml"
},
"name": "test-clone"
}
This throws error This API does not support creating pipelines with type GithubEnterprise
This works for GitHub
What changes do I need to do creating pipeline for gitHub Enterprise?