DZone
Integration Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Integration Zone > Installing a Linux Agent for VSTS Build Has Never Been Easier

Installing a Linux Agent for VSTS Build Has Never Been Easier

How to install the new version of the VSTS Cross Platform Agent on Linux.

Ricci Gian Maria user avatar by
Ricci Gian Maria
·
Apr. 02, 16 · Integration Zone · Tutorial
Like (2)
Save
Tweet
2.76K Views

Join the DZone community and get the full member experience.

Join For Free

if you installed linux agents for vsts vnext build in the past, you already know that it was a simple experience, especially because the agent was installed with npm , so it is a matter of a couple of commands.

the agent is undergoing a substantial change, and in github there is a project about vsts cross platform agent (coreclr) , a new version of the agent, entirely written in coreclr that will substitute the closed source windows agent and the actual xplat agent . this version of the agent is still work-in-progress, and we can expect a preview for osx and linux in the next month. until now, to run vnext build on linux, you should use the xplat agent .

installing the actual xpplat agent is really simple , just create a folder where you want to install the agent, open a bash in that folder and then issue the command:

curl -sksl http://aka.ms/xplatagent | bash

this will download an install script, and does everything for you: installing the prerequisite, downloading, and installing everything . at the end of the script you should only execute:

./run.sh

to start configuration of the agent. the official guide suggest you to use personal access token, but standard alternate credentials are fine, if the user is part of the agent pool administrators and agent pool service account.

once everything is configured, the agent is ready to run your builds .

image

figure 1: agents configured and running on linux centos machine

Linux (operating system) Build (game engine)

Published at DZone with permission of Ricci Gian Maria, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Password Authentication: How to Correctly Do It
  • What Is URL Rewriting? | Java Servlets
  • How to Submit a Post to DZone
  • Don't Underestimate Documentation

Comments

Integration Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo