Archive | Build RSS feed for this section

Running a Linux VSTS Agent on Azure Container Instances

About 3 weeks ago, Corey Sanders (https://azure.microsoft.com/en-us/blog/announcing-azure-container-instances/) announced in his blog that Azure Container Instances is in private preview. I think that this new Azure service is very promising. In a nutshell, it is a hosted and managed Container cluster. The only thing you need to take care of is to create a container image […]

Continue reading

Publish symbols to Azure File Storage with the VSTS Hosted Agent

A while ago I migrated a lot of builds to the Visual Studio Team Services Hosted Agents. This works great. We reduced the number of build servers and agent on-premises and can now easily scal up and down. But .. as it goes… there is always that next thing on the list. In my case […]

Continue reading

Only trigger a release when the build changed

I created a Build task for this purpose as well. Check it out here!  Back in the early days, when we used XAML builds in TFS (wow that seems like ages ago!), we had the possibility to NOT execute a build when nothing changed in the source code repository. This checkbox “Build even if nothing has changed” […]

Continue reading

Trigger Release Pipeline only for Scheduled builds

Currently I am working on some build and release pipelines to deploy some websites automatically. I have some CI builds running, and some scheduled buils that are deployed automatically. This works fine, but there is some waste in the process. My CI build is the same as my scheduled build, with 1 major difference. I do […]

Continue reading

Installing a VSTS Build agent on Mac OSX

Today I needed to install the VSTS Build Agent on a Mac Mini in the office so we can build the IPhone App. The great part of the new build infrastructure in VSTS is that it is Cross Platform and we CAN do that. Just download the agent and run the command provided in the interface. […]

Continue reading

Copy files (and run tests) on a remote machine back to the VSTS build and release agent

This week I was working on a script, running in my VSTS release pipeline that executed Pester tests on a remote machine. Running Pester tests on the VSTS Build and Release Agent work fine with one the awesome tasks on the Visual Studio Marketplace, but this was about running the tests remotely AND getting the […]

Continue reading

Set output variable in a Powershell VSTS Build Task

Currently I am building a pipeline that performs some actions on Azure. For example creating a Azure Storage Account. When doing this, I want to return some values from my Powershell script back into a variable of my Build Pipeline, so I can use this in another task. After some searching I finally found out how […]

Continue reading

Controlling build quality using Build Tags and VSTS Release Management

On many occasions a release is a composition of many different artifacts, like product MSI’s, Shared Assemblies, Documentation etc.. I like to compare it with a big box that you use when moving. You fill it up with all sort of little boxes and other stuff and you label it. The big box is the […]

Continue reading

Use Visual Studio Team Services Build to manage your Azure Resource Groups

If you, just like me, have a MSDN subscription you are also provided with some serious Azure Credits. Because I am a Microsoft MVP I received the MSDN Enterprise subscription, allowing me to run 130 euro worth of Azure services. Because I do a lot of demos and experiments I always have a couple of […]

Continue reading

Unattended install of a Visual Studio Team Services (a.k.a. VSO) Build Agent

A while ago I was looking at installing the VSTS build Agent on Linux and was searching for the possibility to uninstall it unattended. I was doing this because I wanted to run my agent in a Docker container and on startup I wanted to run a configured agent. I solved ths by using an […]

Continue reading