Questions tagged [vnext]
93 questions
1
vote
0 answers
How to set preference Debug to run first before Release in vNext TFS Builds?
I have TFS vNext build setup but when I run with Multiconfiguration option I want Debug mode to run first and then Release mode. However, I change the settings it always runs Release mode first.
Release Mode runs first
Multiconfig settings

rhp30
- 11
- 5
1
vote
0 answers
TFS on premise release bad file descriptor
I migrated from TFS 2015 to TFS 2017 and after the upgrade I moved the distribution of the artifacts from the build to a release-step (after the build-step).
In the release-step I delete all content of the output-folder (on a network share) and copy…

freakinpenguin
- 831
- 14
- 24
1
vote
1 answer
How to trigger TFS vNext Pull Request validation build with a non default parameter value?
Our branch policy specifies a PR validation build. That build publishes the diagnostics binary log when system.debug is true.
But the default value for this parameter is false. In XAML builds we could trigger the Gated Check-In build with explicit…

mark
- 59,016
- 79
- 296
- 580
1
vote
1 answer
Can we change V-Next release agent pools dynamically?
I have a Team project and the build and releases configured in multiple geographical locations. Since all the geographical locations are having its own drop locations and agents as well.
So here my question is, the release agent pool has to be…

Kalesh Es
- 53
- 1
- 5
1
vote
1 answer
TFS 2017 (on premise) vNext Build stuck with status 'cancelling'
I have configured a build server for TFS 2017 and vNext build for my web application. This was working fine until yesterday. Suddenly I started getting the message "Waiting for an available agent" when I try to queue the build. Even if I hit cancel,…

Suresh
- 21
- 7
1
vote
2 answers
TFS vNext Build: GetSources task does not get files from folder with restricted access
we are currently migrating from XAML build to vNext (TFS2017).
The "normal" builds work fine, but the build for our LicenseManager does not work.
The folder containing the LicenseManager source code can only be accessed from certain users.
So I…

PainElemental
- 687
- 6
- 14
1
vote
1 answer
TFS 2017 vNext Build: Customize fields on bugs created on build failure
I am creating task-based builds in TFS 2017. The builds have an option (under the 'Options' tab) to create a Bug automatically when the build fails.
When the build fails and a Bug is created, the bug says it was created by me. I assume this is…

Keiki
- 161
- 1
- 3
- 12
1
vote
1 answer
How to persist variables between vNext phases
I'm trying to write a VSTS/vNext release process to disable release targets from F5 load-balancer pools e.g.:
Disable-PoolMembers (logfile) [run on agent phase / Powershell script]
if that will cause an outage
ask for override …

Arluin
- 594
- 1
- 8
- 21
1
vote
1 answer
TFS Release Management 2015 - How to restrict environment deployment order
Quick question.
Is there a way to constrain/restrict what order users can can deploy builds to environments?
For example if I have these four environments configured with manual push-button deploy (not-automated) I can start all four together if I…

user5855178
- 567
- 1
- 7
- 17
1
vote
1 answer
TFS 2017 Builds - Stop build from executing further
We are using the new style TFS builds (Build vNext) to run our build orchestration. I am looking for a way to stop our builds if certain preconditions are not met. However, I can't find a way to stop the currently executing build without adding a…

Hamid Shahid
- 4,486
- 3
- 32
- 41
1
vote
2 answers
MS Build Parameters ( Publish to File System how to put multiple projects in different directories)
I am using vnext build and i do not want to create zip folders of the packages. My current MSBuild parameters creates zip folders.
/p:CreatePackageOnPublish=true /p:DeployOnBuild=true /p:WebPublishMethod=Package…

krishnasai koneru
- 11
- 1
- 3
1
vote
1 answer
How to make TFS vNext Builds to delete gated-checkin-shelvestes after successful build?
In XAML Builds, the temp-auto-created shelvesets of Gated CheckIn builds, disappear automatically after the checkin. In vNext - they aren't.
Is there way to make them disappear automatically after successful checkin-build?

Yaakov Shoham
- 10,182
- 7
- 37
- 45
1
vote
1 answer
Script creation of Builds and Releases in TFS 2015
I recently finished figuring out a Build and Release process for our environment using TFS 2015 vNext build and release tasks. I'll now need to duplicate that several dozen projects. I've been looking around and I see no way to automate or script…

Ischade
- 127
- 2
- 13
1
vote
1 answer
Check-in changes after successful build in TFS Build 2015 (vNext)
In TFS, in the old XAML build definitions, when queueing build for "Latest sources with shelveset" (in the web interface at least) there is nice checkbox that allows you to "Check-in changes after successful build".
Now we've moved to the new vNext…

Yaakov Shoham
- 10,182
- 7
- 37
- 45
1
vote
1 answer
Get single file out of TFS2015 version control using Powershell fails as null valued expression?
Setting up a vNext Release in TFS 2015 and we are using powershell to get external web.config files. I've adapted this script from our old XAML builds:
[CmdletBinding()]
param([string]$TfsUrl, [string]$TfsConfigurationPath,…

Ischade
- 127
- 2
- 13