获取工件目录路径作为Release进程的相对路径 [英] Obtain the artifact directory path as a relative path for the Release process

查看:137
本文介绍了获取工件目录路径作为Release进程的相对路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有这个问题:


http://stackoverflow.com/questions/43924643/obtain-the -artifact-directory-path-as-a-relative-path-for-release-process


我想在这里发布问题,但是,我不知道为什么要穿不要让我因为这些图片。


 我希望有人可以帮助我们,


谢谢。

解决方案

您好yfrancisco,


要在目标计算机中成功找到包路径,您可以将package.zip复制到构建期间的目标机器。请按照以下步骤操作:


1。在构建定义中,您可以添加  / P:PackageLocation = QUOT;


(Build.StagingDirectory)\\"&NBSP;参数to< label data-bind =" text:label,attr:{for:name},css:{'bold-text':isInvalid()}" for =" msbuildArgs"> MSBuild
Arguments< / label> 。这允许您将包发布到


(build.artifactstagingdirectory)文件夹。


2。添加"Windows机器文件复制" VS构建步骤后的任务,


来源 - >"


Hi,

I have this question:

http://stackoverflow.com/questions/43924643/obtain-the-artifact-directory-path-as-a-relative-path-for-the-release-process

I am trying to post the question here but, I don't know why don't let me because of the images.

 I hope someone can help us,

Thanks.

解决方案

Hi yfrancisco,

To successfully find the package path in the Target machine, you could copy the package.zip to the target machine during build. Please follow next steps:

1. In Build definition, you could add  /p:PackageLocation="


(Build.StagingDirectory)\\"  parameter to <label data-bind="text: label, attr: { for: name }, css: { 'bold-text': isInvalid() }" for="msbuildArgs">MSBuild Arguments</label> . This let you publish your package to


(build.artifactstagingdirectory) folder.

2. Add a "Windows Machine Files Copy" task after VS build step,

Source -->"


这篇关于获取工件目录路径作为Release进程的相对路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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