Building Part 1: How to setup a Build Agent in VSTS

If you are already using Visual Studio Team Services (or VSTS) for your Source code management you can setup a Build Agent to create automated build.

In this blog I will try and explain how.

Starting from a freshly installed Windows 2016 Server (Nothing else installed) log into your Team Project and click the settings

Than select “Agent Queues”

An option to download the Agent will now show.

Download the Agent

Now install the agent by following the instructions

A few things to know and find before you do the install.

You will need a token which you can find by clicking on you picture

Followed by Clicking on Security

Now click Add and create a new Token.

Make sure you save the token value in a safe space as you will not be able to see it again.

This is it. If you followed the instructions you should now have a working Build Agent installed on your build machine ready to create builds for you on demand.

Enjoy

6 thoughts on “Building Part 1: How to setup a Build Agent in VSTS

  1. Pingback: AL Extensions: Automated Builds with VSTS | NAV Bits and Bytes

  2. Pingback: AL Extensions: Automated Builds with VSTS - NAV Bits and Bytes - Business Central/NAV Users - DUG

  3. Pingback: AdvaniaGIT: Setup and configure the build machine - Gunnar's Blog - Dynamics 365 Business Central/NAV User Group - Dynamics User Group

  4. Stijn B.

    Just mentioning, but you can’t use the powershell ISE to register the agent.
    You need to use the commandline GUI one

    Reply
  5. Pingback: AdvaniaGIT: Setup and configure the build machine – Gunnar's Blog

Leave a Reply to Stijn B. Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.