skip to Main Content

Create pipleine in Azure devops by rest API failed – Value cannot be null. Parameter name: repositoryName

I am tring to create Azure devops (tfs) Pipeline by rets API as described here: https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/create?view=azure-devops-rest-6.0 Request url: https://tfs.xxx/tfs/Projects/xxx/_apis/pipelines?api-version=6.0-preview Request body: { "folder": null, "name": "pipeline-made-by-api", "configuration": { "type": "yaml", "path": "build.yaml", "repository": { "id": "xxx", "name": "xxx-repo", "type": "azureReposGit"…

VIEW QUESTION

zero new lines while I do sonarscan on pull request using azure pipeline for my dot net code

- script: | git config --global http.https://dev.azure.com/<company>/.extraheader "AUTHORIZATION: bearer $(System.AccessToken)" # Now fetch the PR source branch using the token git fetch origin $(System.PullRequest.SourceBranch):$(System.PullRequest.SourceBranch) git checkout $(System.PullRequest.SourceBranch) displayName: 'Fetch and Checkout PR Source Branch' env: # This exposes the system…

VIEW QUESTION
Back To Top
Search