tfs

VSTS Label Sources not reading Build Phase Output Variable

谁说胖子不能爱 提交于 2021-02-10 15:13:42
问题 I'm trying to tag a build using the built-in, tag sources functionality of team foundation server, the tag is created during the build phase and outputted as an output variable. However the label sources step never evaluates the variable and the step fails. Why does the label sources step not evaluate the value of the tag variable ? Tag sources has been setup like this The Tag step creates and outputs the tag Both the "Tag Step Logs" and the "PRINT ENV VARS" show the value of the variable

VSTS Label Sources not reading Build Phase Output Variable

£可爱£侵袭症+ 提交于 2021-02-10 15:13:11
问题 I'm trying to tag a build using the built-in, tag sources functionality of team foundation server, the tag is created during the build phase and outputted as an output variable. However the label sources step never evaluates the variable and the step fails. Why does the label sources step not evaluate the value of the tag variable ? Tag sources has been setup like this The Tag step creates and outputs the tag Both the "Tag Step Logs" and the "PRINT ENV VARS" show the value of the variable

Move code from TFVC on TFS 2010 to TFVC on Azure DevOps Server

左心房为你撑大大i 提交于 2021-02-10 14:28:36
问题 I have some projects on TFVC source control on TFS 2010. I want just to migrate the source code from TFS 2010 to TFVC on Azure DevOps Server. I don't want to process an upgrade of the entire collection to a newest version. I Just want to transfer my code with history. I tried Git-TFS. I cloned my repository on TFS 2010, but I don't know how I can update the remote URL for TFVC repos and push on Azure DevOps Server. Any ideas how I can do it? Or other tools that I can use?. In the case I

Mentioning a user in the System.History

青春壹個敷衍的年華 提交于 2021-02-10 14:26:47
问题 I'm trying to add a new comment to a work item which mentions a user, but using the traditional "@adamh" as you would do on the website does not seem to work via the API. The data updates fine, however the "@adamh" is just plain text, I need to be able to somehow chuck an identity into here. Can anyone point me in the right direction? Thanks! A snippet is here const vsts = require('vso-node-api'); const item = require('vso-node-api/WorkItemTrackingApi') const ti = require('vso-node-api

Calling TFS query in another TFS Query

安稳与你 提交于 2021-02-10 14:23:03
问题 Is it possible to call one TFS Query in another TFS Query & further filter data? Working in TFS 2013. 回答1: There isn’t the feature of creating new queries in TFS based on the result of another query presently. Kindly take a look at this similar question:Queries based on the elements of other queries? The only way to do this is using TFS API from a language like C#, where you can run a query, then use that query to do another query based on its results. There are some articles about TFS Query

Calling TFS query in another TFS Query

丶灬走出姿态 提交于 2021-02-10 14:22:05
问题 Is it possible to call one TFS Query in another TFS Query & further filter data? Working in TFS 2013. 回答1: There isn’t the feature of creating new queries in TFS based on the result of another query presently. Kindly take a look at this similar question:Queries based on the elements of other queries? The only way to do this is using TFS API from a language like C#, where you can run a query, then use that query to do another query based on its results. There are some articles about TFS Query

Build Multi Azure DevOps Pull Request in Jenkins

一世执手 提交于 2021-02-10 14:21:09
问题 My git repository is Azure Dev-Ops and use Jenkins for continuous integration build and I use tfs Plugin for Jenkins. My code has 6 branches: master, test1, test2, test3, test4, test5 When i want pull request test1 to master (for example pull request number is 100) and test5 to test4 (for example pull request number is 101) Jenkins only build pull request for number 100 don't build pull request number 101. after several time when i want build for pull request test3 to test2 (for example pull

Migrate source code from git to TFVC

这一生的挚爱 提交于 2021-02-10 07:29:09
问题 We are using visual studio online, and we use the git support of TFS. We now want to stop using git and use TFVC instead. What is the best solution to migrate our source code to TFVC ? 回答1: Assume you are creating another project in VSO and moving the source code, as per today you cannot change or mix TFVC with Git in the same project. There is no best solution, but I can recap some techniques. forget about history, pull down and check into the new version control use git-tf (no branch

Nuget restore in TFS restores packages to different directory

烈酒焚心 提交于 2021-02-09 09:20:50
问题 I placed packages.config and nuget.config to my root folder. When I run nuget restore on my dev machine, packages is restored into root/packages folder as described in nuget.config. However, when I add Nuget Installer build step to my TFS2015 build definition, the packages are restored to ../Nuget/Packages, which is outside my root folder. I have a problem referencing the restored nuget packages in next build steps then. Why nuget restore behaves differently on build server? How to fix it?

Nuget restore in TFS restores packages to different directory

这一生的挚爱 提交于 2021-02-09 09:18:57
问题 I placed packages.config and nuget.config to my root folder. When I run nuget restore on my dev machine, packages is restored into root/packages folder as described in nuget.config. However, when I add Nuget Installer build step to my TFS2015 build definition, the packages are restored to ../Nuget/Packages, which is outside my root folder. I have a problem referencing the restored nuget packages in next build steps then. Why nuget restore behaves differently on build server? How to fix it?