Questions tagged [vnext]
93 questions
0
votes
2 answers
force kms sync with powershell hangs
I have a command in my script.ps1 which is run by a next build step in tfs 2015. I then navigate to the location of office, run the command to force a KMS push like this:
cmd.exe dir "C:\apps\MSOffice\Office15\"
cmd.exe "cscript ospp.vbs /act"
It…
user5955036
0
votes
1 answer
VSTS vNext build "Deploy TestAgent" task never finish when Interactive Process is checked
I am using TFS team service to deploy test agent to on premise Windows 2012 server VM in order to run CodedUI test there. When I uncheck Interactive process, it was deployed fine, but when interactive is checked, the task hangs and never finish. I…

Lei
- 1
0
votes
1 answer
Run WebTest in vNext build via PS-Remoting on Windows 10 server got "System.Data.Entity.Core.ProviderIncompatibleException"
In TFS vNext build I deploy serveral webtests via PS-Remoting to one Windows 10 test agent and run all webtests. It does not not stable because sometimes I get an error with "System.Data.Entity.Core.ProviderIncompatibleException" (s.below)
Visual…

exquisitesilens
- 1
- 1
0
votes
3 answers
Using JFrog Artifactory Deployer with a shared UNC path
We are using JFrog Artifactory with TFS 2017 and I am looking to use the JFrog Artifactory Deployer task with my build. Looking to upload artifacts from a shared UNC part. Whilst it works fine when uploading artifacts from local file system, it…

Hamid Shahid
- 4,486
- 3
- 32
- 41
0
votes
3 answers
How to delete SQL Server databases trough vNEXT build task properly
We have a PowerShell cleanup script for our test machines:
$sqlConnection = new-object system.data.SqlClient.SqlConnection("Data Source=.\SQLExpress;Integrated Security=SSPI;Initial Catalog=master")
try {
$sqlConnection.Open()
…
user5955036
0
votes
1 answer
Reusing existing build task of TFS2015 in a new custom build task
We are using TFS2015 release management in our project. To perform a specific build i need to add multiple task (around 50). I can group these build task in 5 logical groups. As these logical groups will be reusable, I am thinking to create a new…

user1057221
- 1,363
- 3
- 10
- 7
0
votes
1 answer
"Azure File Copy" task failing for copying files to VM
I have looking for ways to update a web api deployed on Azure VM's using TFS vNext. The Web Api is deployed on multiple Azure Virtual Machines (classic).
I am using the "Azure File Copy" task to copy the published websites to the relevant folder on…

Hamid Shahid
- 4,486
- 3
- 32
- 41
0
votes
2 answers
How to retrieve a Test Case ID that is currently running through TFS (vNext) build?
In TFS 2013 when running tests from MTM, we were able to get the ID of the currently running test case by using the TestContext Properties dictionary as follows:
var testCaseID = TestContext.Properties["__Tfs_TestCaseId__"].ToString();
This…

maryama
- 1
- 2
0
votes
1 answer
How to modify the "Issues" collection in the GetBuildDetails response in TFS 2017
We are building a custom Visual Studio build task to implement compliance validation of the builds defined by our developper teams.
The objective is to mark builds using "unauthorized" tasks, or failing to use mandatory tasks in a way that will be…

Pinpin
- 120
- 3
- 13
0
votes
2 answers
How to show test coverage reports for successful TFS builds
Is it possible and if so, how to have TFS display jasmine test results? I am successfully creating jasmine test reports using the plato npm package on the server during a build although I'm yet to link the report to the TFS build success page in…

Martin
- 67
- 9
0
votes
1 answer
TFS vNext the reference to external elements from the source named 'dbref.dacpac' could not be resolved, because no such source is loaded
I am currently trying to automate one of our build processes using TFS 2017's vNext build process.
I have a database solution as part of the system that contains two databases db1 and db2. db1 references db2 but db2 references nothing.
A post build…

Nathan
- 11
- 3
0
votes
1 answer
Multiple vnext test tasks, and sonarqube
We have a web solution that uses both C# and javascript. I've gotten a vNext build working that compiles, and runs both C# unit tests, (VSTest task), and a javascript test, using a Jasmine package. The C# tests have been working for some time just…

Tony DeJaynes
- 1
- 2
0
votes
1 answer
VS2015 - Vnext Run functional task with Nunit does not consider the test filter criteria
In VSTS 2015 we have build and release pipeline setup in a project which is using NUnit test framework. We are trying to configure Integration test case execution using Visual Test Agent Deployment Task and Run Functional Task
Visual Test Agent…

Man
- 1
- 1
0
votes
1 answer
Microsoft SQL Server vNext – Linux edition - what SQL Server features does it lack?
I have a project where the choice of database engine is still up in the air, based on affordability and feature-set. Some basic groundwork has been carried out using SQL Server, and in evaluating the cost implications of opting to adopt SQL Server,…

Karl Buys
- 439
- 5
- 12
-1
votes
1 answer
Maintainability of TFS xaml build vs TFS vNext build vs Octopus Deploy
My question is about maintainability of vNext/Octopus processes vs XAML based processes. Or rather about the impossibility to maintain them sanely leading me to believe we are doing something terribly wrong.
Given:
Microsoft pushes to phase out its…

mark
- 59,016
- 79
- 296
- 580