我有我的 Git 帐户,那里有一个存储库。一段时间后,我决定开始使用Visual Studio Team Services为我的团队启动工作跟踪流程。
但是当我创建一个新项目时
并选择该Git选项,将创建一个新存储库。我尝试更改存储库,但在项目的管理工具中我可以创建新的存储库。
如何将项目关联到现有的 Git 存储库?
我需要使用 Node.js 的 Visual Studio Team Services 客户端 (vso-node-api) 创建 VSTS 工作项,请提供相关示例吗?
tfs-sdk node.js azure-devops azure-pipelines-build-task azure-pipelines
我尝试WPF在 Visual Studio Online ( VSTS) 中设置我们的应用程序构建,但出现错误:
警告MSB3327:无法在当前用户的 Windows 证书存储中找到代码签名证书。要更正此问题,请禁用 ClickOnce 清单签名或将证书安装到证书存储中。
错误MSB3326:无法导入以下密钥文件:。密钥文件可能受密码保护。要更正此问题,请尝试再次导入证书或将证书手动导入到当前用户的个人证书存储中。
我们在生产中使用代码签名,因此我无法禁用此选项或<manifestkeyfile>从csproj. 有什么办法可以导入这个证书吗VSTS?找不到任何有关此的信息...
实际上,我只需要构建它(无需部署),但看起来我无法关闭特定配置的签名。
我遇到这个问题,我想更改任务在迭代板中显示的顺序。对于用户故事(美国)内的任务,就像拖放一样简单,但对于不同美国的任务,情况并非如此。
对我来说,改变美国的顺序就足够了,只是为了表明我们必须首先完成美国境内的所有任务,然后再完成另一个美国境内的所有任务。
我尝试设置优先级或点数据来执行此操作,但没有成功。
提前致谢!
几天前,我更改了 Microsoft 帐户的主要别名。现在我想签入我的代码,并收到一些错误消息:
尝试与 Visual Studio Team Services 通信失败,因为无法检索令牌。
您无权访问 [...]
这是它的图片:
正如建议的那样,我已经尝试重新输入我的凭据。但这没有效果。我已经尝试关闭 Visual Studio,重新启动我的电脑,但没有任何帮助。我该如何解决这个问题?
我是一个完全的 Azure DevOps 菜鸟,尝试在 Azure DevOps 中设置 AKS 集群和发布管道,以使用 Helm 部署到它。
我创建了(禁用 RBAC,以简化流程)一个 AKS 集群,将发布管道连接到它,使用 Azure Cloud Shell 连接到 AKS 集群并运行 helm init,但发布因以下问题而失败:
2018-12-14T16:35:55.9461744Z ##[section]Starting: helm upgrade <REDACTED>
2018-12-14T16:35:55.9467164Z ==============================================================================
2018-12-14T16:35:55.9467299Z Task : Package and deploy Helm charts
2018-12-14T16:35:55.9467387Z Description : Deploy, configure, update your Kubernetes cluster in Azure Container Service by running helm commands.
2018-12-14T16:35:55.9467647Z Version : 0.138.14
2018-12-14T16:35:55.9467963Z Author : Microsoft Corporation
2018-12-14T16:35:55.9468016Z Help : [More Information](https://go.microsoft.com/fwlink/?linkid=851275)
2018-12-14T16:35:55.9468114Z ==============================================================================
2018-12-14T16:35:58.3023980Z [command]/opt/hostedtoolcache/helm/2.11.0/x64/linux-amd64/helm upgrade --namespace dev --install --recreate-pods --force --values …Run Code Online (Sandbox Code Playgroud) 您能否提供一个代码示例,了解如何使用 C# 将附件(文本文件和图像)添加到 Azure DevOps 中的现有工作项。
我有一个父分支和子分支。
当我想将子分支合并到父分支时,据说重新建立分支是最好的合并方法。
如果我们重新调整另一个分支中所做的所有更改都会进入当前的子分支,对吗?
然后,当有人想查看子分支中所做的新更改时,其他分支的更改就会太正确。
有人可以解释一下 Rebasing、Pull request 和 Merge 吗?
我正在尝试找到合并分支的最佳方法。
我已经非常接近我的模板和使用它的部署 yaml。但是我遇到了错误
意外值“变量”意外值“阶段”
我确信我的语法是错误的,但我一生都无法理解为什么。
这是我的模板的开始
#File: template.yml
parameters:
- name: repositoryName
type: string
default: ''
variables:
tag: '$(Build.BuildId)'
buildVmImage: 'ubuntu-latest'
deployPool: 'deploy-pool'
stages:
- stage: Build
jobs:
- job: Build
pool:
vmImage: $(buildVmImage)
steps:
- checkout: self
submodules: recursive
Run Code Online (Sandbox Code Playgroud)
这是使用它的部署 yaml
# Repo: Organization/Project
# File: azure-pipelines.yml
trigger:
- develop
- next
- master
resources:
repositories:
- repository: template
type: git
name: AzureDevOps/AzureDevOps
jobs:
- template: template.yml@template
parameters:
repositoryName: 'exampleName'
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激。我确定它就在我的鼻子前,但我已经挣扎了好几天,所以我认为是时候寻求帮助了。
我有以下模板可以进行多阶段部署:
parameters:
- name: Stage
type: string
- name: Environment
type: string
- name: Enabled
type: boolean
default: false
- name: WebAppName
type: string
- name: ArtifactName
type: string
stages:
- stage: ${{ parameters.Stage }}
displayName: '${{ parameters.Stage }} Stage'
dependsOn: '${{ parameters.DependsOn }}'
jobs:
- deployment: ${{ parameters.Environment }}
timeoutInMinutes: 70
environment: '${{ parameters.Environment }} Environment'
pool:
vmImage: $(vmImageName)
strategy:
runOnce:
deploy:
steps:
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: ${{ parameters.ArtifactName }}
downloadPath: '$(System.ArtifactsDirectory)'
- task: …Run Code Online (Sandbox Code Playgroud) azure-devops ×10
tfs ×3
git ×2
attachment ×1
azure ×1
azure-aks ×1
kubernetes ×1
node.js ×1
pull-request ×1
rebase ×1
tfs-sdk ×1
yaml ×1