azure-devops

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

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

How can I include additional files in an Azure cloud services package when using VSTS?

ε祈祈猫儿з 提交于 2021-02-10 06:28:15
问题 I have a solution with a web project in it and a cloud project for deploying that web project as a cspkg file to a cloud service. This all works fine. However, I have a file that i don't want in the web project but I do want deployed with the cspkg file into the cloud service. We use VSTS to build and deploy things, and I haven't figured out how to include extra files in the package within this system. I tried a Copy Files step but that doesn't get the file into the package, it does get it

How can I include additional files in an Azure cloud services package when using VSTS?

爷,独闯天下 提交于 2021-02-10 06:28:08
问题 I have a solution with a web project in it and a cloud project for deploying that web project as a cspkg file to a cloud service. This all works fine. However, I have a file that i don't want in the web project but I do want deployed with the cspkg file into the cloud service. We use VSTS to build and deploy things, and I haven't figured out how to include extra files in the package within this system. I tried a Copy Files step but that doesn't get the file into the package, it does get it

Get the data of Build.Repository.LocalPath and used it in my DockerFile

こ雲淡風輕ζ 提交于 2021-02-10 06:26:53
问题 I want to get the data from the variable Build.Repository.LocalPath and use it in my Dockerfile, but it shows me and error. This is my dockerfile: FROM microsoft/aspnet:latest COPY "/${Build.Repository.LocalPath}/NH.Services.WebApi/bin/Release/Publish/" /inetpub/wwwroot I get this error: Step 2/9 : COPY "/${Build.Repository.LocalPath}/NH.Services.WebApi/bin/Release/Publish/" /inetpub/wwwroot failed to process "\"/${Build.Repository.LocalPath}/NH.Services.WebApi/bin/Release/Publish/\"":

console error regarding permissions for ms.vss-web.platform

北战南征 提交于 2021-02-10 06:14:41
问题 I am developing an Azure DevOps extension and I keep seeing the below error in my console. I am quite confused because the extension itself has no issues access all the API endpoints I need and nowhere else in the program do I get errors. I am frankly not even sure which of the azure devops npm dependencies I have is the issue. I presume its in the internal auth for the sdk. ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1 No permissions found for security namespace '2e9eb7ed-3c0a

console error regarding permissions for ms.vss-web.platform

拈花ヽ惹草 提交于 2021-02-10 06:14:25
问题 I am developing an Azure DevOps extension and I keep seeing the below error in my console. I am quite confused because the extension itself has no issues access all the API endpoints I need and nowhere else in the program do I get errors. I am frankly not even sure which of the azure devops npm dependencies I have is the issue. I presume its in the internal auth for the sdk. ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1 No permissions found for security namespace '2e9eb7ed-3c0a