Questions tagged [vnext]
93 questions
0
votes
1 answer
Call to powershell process from inlined C#
I have a PowerShell script that execute some inlined C# code like this:
Add-Type -ReferencedAssemblies $Assem -TypeDefinition $Source -Language CSharp
[AnalyzeHelper.AnalyzeDirectories]::CheckPath("XXX")
In that C# code I would like to output to my…

JerryA
- 153
- 1
- 8
0
votes
1 answer
How to spawn an offline process from a TFS vNext build step that would last beyond the build?
It seems that if my build step spawns a child process, that process cannot survive the end of the build - it is killed.
But I have a scenario where a child process is triggered in order to complete offline certain operations that the build should…

mark
- 59,016
- 79
- 296
- 580
0
votes
1 answer
How to report build progress to TFS vNext from within a powershell script?
My vNext build contains very few steps - I just setup a few settings and call the main Powershell build script, which internally invokes msbuild, but it also does other things too.
I know that vNext comes with a distributed msbuild logger that…

mark
- 59,016
- 79
- 296
- 580
0
votes
1 answer
How to publish custom message on the TFS vNext build summary page?
Here is a typical build summary page:
I would like to add a custom message somewhere on this page, preferably under its own title.
How can it be done?

mark
- 59,016
- 79
- 296
- 580
0
votes
1 answer
When to use shallow fetch different from 1
I see the idea to use Shallow Fetch when getting source in a CI build, as it only get the latest revision of every file.
But I'm more in doubt when to have several revisions.
When do you use Shallow Fetch > 1 or not using it at all?

JerryA
- 153
- 1
- 8
0
votes
1 answer
It cannot be determined, which agent will be used for which build configuration in parallel Multi-config builds
We use the multi-configuration according to the BuildConfiguration variable and run the release and debug in parallel with Clean:false in one of our builds.
In the agent queue, we have two agents that meet the requirements for this particular build…

János Zoltán Kis
- 11
- 3
0
votes
1 answer
MTM 2017 Supports Coded UI test execution with vNext build
We were using MTM 2015 and TFS 2015. While trying to run the Coded UI automation with vNext build started encountering an issue
The build directory of the test run either does not exist or access
permission is required
Started digging deep and…
0
votes
1 answer
vNext Build pipeline to sync remote git into local repository
We got code stored and worked on inside BitBucket. I am trying to sync that code over to a git repository inside VSTS Online by using a build pipeline. However, i can't figure out what build steps to use in order to pull the files from the BitBucket…

Patrick
- 5,442
- 9
- 53
- 104
0
votes
1 answer
Run Windows application on Build Server by TFS Release Build Definition
Run notepad or any other windows application with Release Definition on build server using powershell or batch scripts:
I tried all the commands known to me:
& ′notepad.exe′
Invoke-Expression -Command ′notepad.exe′
Start-Process -FilePath…
0
votes
1 answer
TFS vNext Releases - Force Onto Specific Pipeline/Concurrent Job
We're using the new vNext TFS build system (not the old XAML based system) on TFS 2017.2, and we want to implement more pipelines (now called Concurrent Jobs in VSTS 2019 and later - just beware of the terminology switch if you look at new…

mattbbpl
- 87
- 1
- 7
0
votes
1 answer
I can start the same build definitions multiple times and they are processed parallel, how can I deny this behavior?
I have created a vNext build definition in TFS 2018. I'm able to queue this
build definition many times and they were processed parallel.
This behaviour is not acceptable. If they are processed in order, I can live with it.
Does anyone know which…

Torsten Wöbke
- 3
- 2
0
votes
1 answer
The published artifacts cannot be deleted in vNext build definition in TFS 2017
I am working on vNext build in TFS Version 15.117.27414.0.
I published the build artifacts to a shared file path.
After I deleted the build record in history tab manually, why the drop folder of artifacts still exists in shared folder?
Retention…

zgu
- 11
- 2
0
votes
1 answer
In TFS 2015, for failed VNext builds, are the steps (build tasks) the build failed on stored in DB anywhere
I know if I click on a build link for a summary, it shows all the steps, but I cannot find the actual step (build task) that the build failed on anywhere using the API or looking in the TFS database.
Does TFS 2015 store this anywhere that is…

Thaldin
- 283
- 3
- 15
0
votes
1 answer
Revision number is not updated properly in VNext builds
Working with Gated/CI build definition (vNext) in TFS2017, the revision number is not increased correctly. Each build has the same Rev number even the changes are checked-in properly.
I get the revision number from $Env:BUILD_BUILDNUMBER via…

Felipe
- 17
- 3
0
votes
1 answer
Continuous Integration build over TFS2017
I would like to know what is the equivalent of "Continuous Integration - build each check-in" (XAML definition) in VNext definitions.
1- Is it "Run continuous integration triggers for commited changes" in Gated trigger?
2-Or it is a "Continuous…

Felipe
- 17
- 3