alm

curl was not found in the path Visual Studio Team Services

一世执手 提交于 2019-12-01 20:12:51
I'm using the Hosted Agent for release management in Visual Studio Team Services. I have a cURL Upload Files task on my release definition which was working last week and I've had several successful deployments over the past weeks. Today I created a new release from the same release definition and I am receiving the following error on the cURL Upload Files task. 2016-03-31T08:56:43.4253012Z ##[debug]curl=null 2016-03-31T08:56:43.4263027Z ##[error]curl was not found in the path. 2016-03-31T08:56:43.4303022Z ##[debug]task result: Failed 2016-03-31T08:56:43.4313025Z Return code: 1 I have checked

Why is TFS Rest API for fetching the TFVC changesets returning only 256 items?

穿精又带淫゛_ 提交于 2019-12-01 05:54:59
问题 Why is the TFS Rest API for fetching the TFVC changesets returning only 256 items. I tried using the $Top to get more than 256 results. But no use. The API for getting Git repository commits is working fine. I am referring to https://www.visualstudio.com/en-us/docs/integrate/api/tfvc/changesets Sample request https://tfs.domain.com/tfs/defaultcollection/projectname/_apis/tfvc/changesets?$searchCriteria.fromDate=2016-07-12T17:49:01&$skip=0&$top=500 I tried without $skip and $searchcriteria

TFS Error: Unable to determine the workspace for this solution

左心房为你撑大大i 提交于 2019-11-29 10:42:16
问题 I get this error when trying to "Go Online" with a project on a Visual Studio 2010 ALM project. The project was previously connected to a team project on Team Foundation Server (2010), but I had to reinstall both the SQL Server and the TFS installation and I guess all that information was deleted. Now, I'm trying to get the project into a new Team Project on TFS, and the TFS gives me this error. Any ideas? Thanks. 回答1: What I ended of having to do was re-map the workspace within the Visual

How to get all collections from TFS

淺唱寂寞╮ 提交于 2019-11-29 07:46:39
How to get the collections from TFS using TFS API Please refer here for more details. This is one of the best resources on TFS stuff. private TfsConfigurationServer configurationServer; configurationServer = TfsConfigurationServerFactory.GetConfigurationServer(uri); public IList<KeyValuePair<Guid, String>> GetCollections() { //ApplicationLogger.Log("Entered into GetCollections() : "); var collectionList = new List<KeyValuePair<Guid, String>>(); try { configurationServer.Authenticate(); ReadOnlyCollection<CatalogNode> collectionNodes = configurationServer.CatalogNode.QueryChildren( new[] {

How to get all collections from TFS

邮差的信 提交于 2019-11-28 01:30:32
问题 How to get the collections from TFS using TFS API Please refer here for more details. This is one of the best resources on TFS stuff. 回答1: private TfsConfigurationServer configurationServer; configurationServer = TfsConfigurationServerFactory.GetConfigurationServer(uri); public IList<KeyValuePair<Guid, String>> GetCollections() { //ApplicationLogger.Log("Entered into GetCollections() : "); var collectionList = new List<KeyValuePair<Guid, String>>(); try { configurationServer.Authenticate();