如何在VSTS中的私有代理上更改存储库目录映射? [英] How to change repository directory mapping on the private agent in VSTS?

查看:66
本文介绍了如何在VSTS中的私有代理上更改存储库目录映射?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了本地VSTS代理.下面是目录结构:

I have installed an On-prem VSTS agent. Below is the directory structure:

如果像2、3、4、5这样的数字,如何更改目录结构以包含我的项目名称?

How can I change the directory structure to include the name of my project instead if a number like 2,3,4,5?

推荐答案

直接的答案是否".

现在,工作目录只能仅使用增量编号作为文件夹名称.并且您可以在_work/SourceRootMapping/Mappings.json文件中找到该文件,它记录了上次构建时间和文件夹编号,以便将为下一个文件夹创建一个增量编号.所有正在创建和自动增加的内容,无法更改用于构建工作目录的文件夹.

For now, the working directory can only use the increment number as the folder name. And you can find in the _work/SourceRootMapping/Mappings.json file, it records last build time and folder number so that it will create an increment number for next folder. All that are creating and increase automatically, there is no way to change the folder for the build working directories.

我发布了用户语音

I posted an user voice Enable to specifying folder name before building/releasing on private agent to suggestion add the feature to specify folder name. You can vote and follow up.

这篇关于如何在VSTS中的私有代理上更改存储库目录映射?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆