Sample Request HTTP HTTP コピー POST https://dev.azure.com/fabrikam/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses?api-version=7.1-preview.1 { "state": "succeeded", "description": "Sample status succeeded", "context": { "name": "sample-status-4", "genre...
GET https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repositoryId}/pullRequests/{pullRequestId}/statuses?api-version=7.1-preview.1 URI 参数 展开表 名称在必需类型说明 organization path True string Azure DevOps 组织的名称。 pullRequestId path True integer int32 拉取请...
Create a pull request status. The only required field for the status is Context.Name that uniquely identifies the status. Note that you can specify iterationId in the request body to post the status on the iteration. HTTP Copy POST https://dev.azure.com/{organization}/{project}...
最后,使用 createPullRequestStatus() 方法发布状态。 它需要状态对象、存储库 ID 和拉取请求 ID。 将响应输出到Node.js控制台,以便查看发布请求的结果。 JavaScript 复制 vstsGit.createPullRequestStatus(prStatus, repoId, pullRequestId).then( result => { console.log(result) }) 生成的方法应如下所示...
[severity:It’s more difficult to complete my work] I tried to click on the pull request from the pull request list, but it won’t open. Are there any ways I can try to investigate the cause of this issue?Azure DevOpswebReposservices-cli ...
status : closed threadContext : properties : identities : isDeleted : False _links : @{self=; repository=} Azure DevOps Server (TFS)web
拉取请求(Pull Request)是Azure DevOps Server (之前称为TFS)系统中用于代码评审和分支合并的管理流程。使用拉取请求,代码评审人员可以记录记录代码评审过程中发现的问题、潜在的漏洞、创造性的亮点等。 在代码评审过程中,创建一个具有指导性的描述文档,可以帮助评审人员更好的了解评审过程中需要注意的事项,以便提高代...
作者:Buck Hodges,Azure DevOps技术总监,曾参与TFS第一个版本的TFVC代码管理模块开发工作,并引领团队完成向云以及DevOps的转型。 译者: 周文洋,LeansoftX研发总监 一直以来我经常被问到Azure DevOps团队是如何管理以及控制功能上线的问题,特别是对与一些还没有完成或者需要在特定时间点开放的功能。
事件ID: ms.azure-devops-release.deployment-approval-completed-event 资源名称: resource设置releaseApprovalStatus:筛选事件以仅包含具有指定状态审批的部署 有效值: 2 -批准 4 -拒绝 releaseApprovalType:筛选事件以仅包含请求批准指定类型的部署 有效值: 1 - 预部署 2 - 部署后 releaseEnvironmentId:筛选事件...
将{organization}替换为您的Azure DevOps组织的实际名称。 # pipeline-lock-PR.yml trigger: none jobs: - job: lock pool: server variables: repoName: $[variables['Build.Repository.Name']] branchName: $[replace(variables['System.PullRequest.SourceBranch'], 'refs/', '')] steps: - task: ...