Team Services | TFS 2017 | TFS 2015 | Previous versions (XAML builds)
We've updated the hosted pool. We've changed permissions to enable you to build .NET 3.5 ASP.NET Web Forms projects. Also, we've updated and added new software:
- .NET Core 1.1
- Android SDK v25
- Azure CLI 0.10.7
- Azure PS 3.1.0
- Azure SDK 2.9.6
- CMake 3.7.1
- Git for Windows 2.10.2
- Git LFS 1.5.2
- Node 6.9.1
- Service Fabric SDK 2.3.311
- Service Fabric 5.3.311
- Typescript 2.0.6 for Visual Studio 2015
Build and deploy Docker apps to Azure more easily
We're doing a few things to make continuous integration and deployment (CI/CD) of Docker apps simpler. Last week we released Visual Studio 2017 RC to enable you to quickly and automatically create a CI/CD process for ASP.NET Core projects with Docker see below for details.
This week we've updated the Docker extension with support for Azure Container Service and Azure Container Registry. We've also begun offering the hosted Linux pool.
Preview: Hosted Linux pool
We're offering a preview of our new hosted Linux pool to enable you to build and release on Linux machines without having to configure a private agent.
The agents in the hosted Linux pool run on an Ubuntu Linux host inside the vsts-agent-docker container. This container includes all the standard Java, Node, Docker and .NET Core tooling. When we start the container we map in the Docker socket from the host VM and the working folder from /opt/vsts/work. This enables you to create or spawn other Docker containers as part of your build or release process using either a script or the Docker extension in the Visual Studio Marketplace.
To use the Hosted Linux pool in your build definition, go to the General tab, open the Default agent queue menu, and then select Hosted Linux.
If you don't see the option yet, just give it a little time. We're rolling this option out to accounts over the next few weeks.
Definitions can be pinned to a specific task version
By popular request, we're giving you control over the major version of a task that you run in your build or release. We expect this change to result in fewer unpredictable errors that were caused by automatic updates to the agent and task version. You now specify the major version of the task on the Build tab of your definition.
When a minor version is released (for example, 1.2 to 1.3), you get that change automatically in your build. But if a new major version is released (for example 2.0), then your build stays locked to version 1.3 until you edit the definition and manually change to the new major version. A flag in the build definition alerts you to new major versions.
If you select a version named something such as 1.* (preview), keep in mind that this version is still under development and might have known problems.
Tip: In a build definition you've got a few options to test a new major version of a task:
- If you change the version and have problems, you can revert the change from the history tab.
- Clone the build definition and test the cloned definition with the new major task version.
Roll back changes to a build definition
You can now select a version in the build definition history and Rollback to that version.
Build and deploy ASP.NET apps to Azure
Today we're announcing the Visual Studio 2017 release candidate. You can use this version of Visual Studio to automatically set up a CI/CD pipeline to deploy your ASP.NET Core Web App with Docker to Azure.
Deploy ASP.NET Core Web App with Docker to Azure so that you're set up to run an automated build and deployment to Azure Container Service with every Git push.
Also, we've updated these topics with more-end-to-end details:
Pricing changes on Team Services
Later this month, on Team Services we're moving to a pricing model based on concurrent pipelines. (Previously you paid for agents.)
No charge for private agents: Private agents are now free. In Team Services, you used to have to license each private agent after the first. Now you can run deployments concurrently for no additional charge.
Concurrent pipelines: For each build that you want to run concurrently on Team Services, you need a concurrent pipeline. Some concurrent pipelines are included. If you need more, you can add more in a few ways.
On TFS you don't need concurrent pipelines to run builds. You can run as many builds as you want at the same time for no additional charge.
Don't sync sources
To bypass synchronizing source files, select one of the Git options as your repository type, and then select Don't sync sources. This can be useful if you want to handle Git version control operations yourself, or if you just want to run automation without version control dependencies.
Git LFS and shallow fetch
Checkout files from LFS: Download files from large file storage (LFS).
Shallow fetch: If your repository is large, this option might make your build process more efficient.
Your agent must be version 2.107.* or newer for this feature to work.
New places to search
You can now search for builds in the Mine and Queued tabs.
Visual Studio 15 Preview 5
Build apps developed in Visual Studio 15 Preview 5:
Build: Visual Studio Build task: For Visual Studio Version select Visual Studio "15" (preview).
Build: MSBuild task: For MSBuild Version select MSBuild 15.0 (preview).
At the moment you must deploy your own Windows agent to build these apps. Visual Studio 15 Preview is not yet available on the hosted pool.
New mobile app options, updated docs
Build: Xcode Build Added Xcode 8 automatic signing. Added options to support creating app packages.
Updated hosted build pool
Hosted agent software list added:
- Azure SDK 2.9.1
- WIX 3.10
- SQL lite for Windows Phone 8.1
- Xamarin Stable Cycle 8 SR 0
- Windows 10 SDK 14393
- .NET 4.6.2
- Git 2.10.1
Xcode Build task xcpretty formatting
Publish Jenkins test and code coverage results
You can now use the Jenkins Queue Job build and release task to retrieve test and code coverage results from a Jenkins job or pipeline. See Jenkins Queue Job.
Build summary for Maven and Gradle tasks
When you enable the Run SonarQube Analysis option in the Maven or Gradle build tasks, you get a link on the SonarQube project. You can request a full analysis to see the quality gates details, and choose to break the build if they are not met.
FindBugs and CheckStyle in Maven build
You can now request FindBugs and CheckStyle standalone static analysis in the Maven build task (in addition to the PMD analysis). The results of the static analysis appear in the build summary, and resulting files are available from the Artifact tab of the build result.
New and updated content
Administer permissions Added walkthrough with examples to grant permissions.
Triggers Added some tips on filtering the file path for your CI trigger.
Queued tab redesigned
We've implemented a new design to more cleanly show a longer list of queued and running builds.
Hosted pool agents are migrating to the v2 agent
We expect this migration to be a non-event for the vast majority of users. However, we have seen a few cases where custom build tasks are not compatible due to reflection across internal APIs or reliance to specific agent folder layout. If you run into any issues please let us know.
Xamarin builds simplified
You no longer need a Xamarin license to build your Xamarin app. We're deprecating the Utility: Xamarin license task. We recommend that you remove this task from your build to avoid disruption when we remove the task from the product.
We've had lots of exciting news this week. We're capping it off with a brand new user experience.
New definitions experience
Welcome to the new definitions UX! The experience focuses on the builds you own and care about. We hope you enjoy the richer and more personalized views into the status and quality of your code.
These builds are mine
Here you'll find the builds you care about most. The Mine tab features your favorites, team favorites, and builds of code that you've checked in.
The 7-day pass rate shows the percentage of builds that succeeded or partially succeeded out of all the builds completed during the past week. The arrow tells you if today's builds are doing better or worse than the 7-day rate.
What's happening right now?
When you want to see what's happening right now and in recent history, check out the Queued tab.
Does your team have a lot of build definitions. You can now use folders to keep them organized in the All Definitions tab.
Tip: Have a batch of definitions that need the same permissions? Put them in a folder and then you can give permissions to the folder.
Lots more data about the build
When you click down to focus on a specific build, we now give you a lot more information about what's happening and overall code quality.
Still have some XAML builds? Visual Studio is still your primary tool for editing and managing XAML builds. The XAML tab provides a companion experience so you can view and queue those builds in your web browser.
Run your agents behind a web proxy
Added info on using a web proxy. Also changed these topics to clarify permissions for deploying the agent.
New build steps
Updated build steps
Build: Jenkins Queue Job Added arguments.
Build Added version qualifiers.
Deploy ASP.NET Core to Azure Removed unnecessary step.
Variables Added Build.RequestedForEmail, small corrections.
New build agents and admin content
Administer your build and deployment system
New build steps
Hosted agent software list added:
- Visual Studio 2015 Update 3
- .NET Core 1.0 with Preview 2 Tooling
- Azure Service Fabric SDK 2.1
- Android support repository version 30
- Google Repository version 29
- Let's Encrypt root certs for JDK certificate store
- SQL Server Data Tools Visual Studio 2015
New build steps
Scale out and administer your build and deployment system agent queues tab moved to team project
Team Services July 7 release notes see the Continuous integration section.
Extract files build step
Git CI triggers with file path filters
Hosted pool update
Hosted agent software list added:
- .NET Core RC2 Tooling
- Service Fabric runtime, SDK, and tools for Visual Studio 2015
Use build variables completely overhauled with new structure and a lot more details.
Role-based agent queues
Administration of agent queues is now role-based. You can now grant permissions to project-level groups. Updated administration content in this and other topics.
New cross-platform agent
Hosted agents New software. Hosted build controller is deprecated.
NuGet packager Added examples of multiple patterns and negation pattern.
Home page - broadened coverage and implemented responsive design
Retention policies can delete
Artifacts that you've published to a UNC file share using the Publish Build Artifacts build step.
Symbols that you've published using the Index Sources & Publish Symbols build step.
From build error to source
Have you ever wished you could just jump from a build error to the line of code that caused it? Now you can.
Click the error link to open the source file causing the build error.
Copy from console to clipboard
When you are viewing a build in progress, on the console there's now a button you can click to copy the output to your clipboard.
View longer logs
When you are viewing the output from a build step in your web browser, you can now view much longer logs (up to 150,000 lines).
Java build templates
We've made it even easier for Java developers to get started by adding templates for Ant, Maven and Gradle.
New capabilities and documentation
Build your Xamarin app now with enhanced templates.
Build: Xamarin.Android now supports Mac and Linux.
Build: Xamarin.iOS now supports signing and packaging.
Test: Xamarin Test Cloud results can now be displayed on the build summary page.
Scale out and administer your build and deployment system
TFVC Gated Check-in
Use gated check-in to protect your TFVC codebase from build breaks.
Private shelveset builds
Manually queue a private build of a shelveset. See Create a build definition.
Specify the repository (Q&A: What kinds of submodules can I check out?)
Retention policy minimums
You can now specify a minimum number of successful or partially successful builds to keep. See Specify build retention policies.
Delete Files build step
Deleted builds tab
You can view builds deleted by you or your retention policies. Deleted builds are destroyed after 30 days.
New permission to register XAML build controllers
Project Collection Build Administrators can now register XAML build controllers on a VSTS account. Previously you had to be a member of the Project Collection Administrators group.
Visual Studio Team System Release Notes - January 25 Improved views of your completed builds, release orchestration improvements, and more.
New documentation: Define your process
Create a build definition (replaced in April 2017 with CI/CD for newbies)