Thursday, September 3, 2020

AzureDevops: autocancel pipelines? How it is?

 Hi everyone!



In this topic I would like to disscuss very small feature, but very important for some projects.

Autocancal pull request. 

What it is, and what is the majour feature will be talking today!

Tuesday, November 12, 2019

LibGit2Sharp.NotFoundException: Object not found - no matching loose object

Hi Everyone.
In this article we will talk about very old bug in GIT:

LibGit2Sharp.NotFoundException: Object not found - no matching loose object (0000000000000000000000000000000000000000)
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
at LibGit2Sharp.Core.Proxy.git_checkout_tree(RepositorySafeHandle repo, ObjectId treeId, GitCheckoutOpts& opts)
at LibGit2Sharp.Repository.CheckoutTree(Tree tree, IList`1 paths, IConvertableToGitCheckoutOpts opts)
at LibGit2Sharp.Repository.Checkout(Tree tree, CheckoutOptions checkoutOptions, String refLogHeadSpec)
at LibGit2Sharp.Repository.Checkout(String committishOrBranchSpec, CheckoutOptions options)
at Microsoft.TeamFoundation.DistributedTask.Task.Internal.Core.GitHelper.SyncAndCheckout(ITaskEndpoint endpoint, String rootPath, Boolean cleanRepository, String sourceBranch, String sourceVersion, String& commit, CancellationToken cancellationToken, Boolean checkoutSubmodules)
at Microsoft.TeamFoundation.DistributedTask.Plugin.Build.TfsGitSourceProvider.<>c__DisplayClass3_0.<PrepareRepositoryAsync>b__0()


Thursday, April 11, 2019

Powershell vs Golang: what is better?



Hi, everyone.

In this post, I want to share my opinion and result of the test which compares PowerShell with golang.


Wednesday, September 12, 2018

The workspace XXX;Project Collection Build Service (TEAM FOUNDATION) does not exist.

Let's discuss today not usual error.

How to fix workspace issue, if you did not successful move it?
This error possible to face in two situation: when you move (modified) workspace in you local computer. For example Visual Studio.
Or if you clone build agent with virtual machine or physical server. In this case you can delete all work space but see same issue:

Thursday, August 16, 2018

Does pro grammatically check-in the best practice?

Does pro grammatically check-in the best practice?


From time to time I receive request to add check-in step to build definition. In general this is simple operation: some step change file(s), and customer need that this files put to source control.
But is it good scenario, and what a risk will you receive after this implementation? Let's discuss it in this article.

Tuesday, April 17, 2018

Error: The active Test Run was aborted because the execution process exited unexpectedly

Hi everybody.

Long time I haven't interesting cases, but few days ago I was face with interesting issue.

Prerequisite:
-VNext builds with execute unit tests.

Thursday, December 28, 2017

How start a build Vnext from specific number

Hi.
Imagine situation: you need to create build definition. You set some version like: 1.0.0.$(Rev:v)
After that tfs start create build with number 1.0.0.1; 1.0.0.2 and etc.
And you have task to clone this build and in some reason you need that build start from number 1.0.0.100.