Questions tagged [build-definition]
217 questions
0
votes
1 answer
TFS Build definition argument in custom activity
Got a build definition template, with custom argument 'NpmEnabled' (if i look at the xml of the xaml template, it is a part of the
I can set the NpmEnable in…

Dennis
- 1,810
- 3
- 22
- 42
0
votes
1 answer
Why are my TFS build labels disappearing from the global list after 10 builds? And why do they have a slash in the label?
My build retention policy deletes Details, Drop Folder, and Symbols only, after 20 successful builds. However, my Global List with build labels is only retaining the last 10 builds. All builds were being retained in the global list before my…

Serena Wallace
- 3
- 3
0
votes
1 answer
Team build error: the path already mapped to workspace ... AGAIN AND AGAIN
So I have reviewed the link to solve this problem, as referenced below.
Team build error: the path already mapped to workspace
But my problem is that EVERY time i queue that Build Definition i get the same problem. Ok, i go delete the tfs…

user1161137
- 1,067
- 1
- 11
- 31
0
votes
0 answers
TFS scheduled build not getting triggered
We have TFS build definitions that are configured to run every night at 10:00 PM ("Schedule" option and "Build even if nothing changed..." are selected). For some testing, I modified one of them to run at 10:30 AM and was waiting for it to get…

kvk938
- 134
- 2
- 8
0
votes
1 answer
Don't commit check-in if build status not green
We have gated check-ins with our build. Sometimes the builds are orange or red. When they're red, the changeset is rejected and not committed. When the build for the check-in is orange, the check-in is not rejected and instead committed. How do we…

core
- 32,451
- 45
- 138
- 193
0
votes
1 answer
Running post-build event ONLY in build definition
In our web project, we've modified the .csproj file to run this command pre-build:
cd $(MSBuildProjectDirectory)
npm run build-release
cd $(MSBuildStartupDirectory)
It works just fine.
The problem is that we don't want this in the .csproj anymore.…

core
- 32,451
- 45
- 138
- 193
0
votes
1 answer
Build Definition
When creating a new build definition, I cannot see the other solution configuration. I have three solution configurations: debug, test, and release.
In the process tab > 1.required > item to build > configuration to build
I can only see two of the…

JkenshinN
- 331
- 2
- 9
0
votes
1 answer
Upgrading TFS 2010 build definitions to TFS 2013 build template
I have ported over all of my build customizations from TFS 2010 to the new TFS 2013 build process template. What would be the best approach to upgrade the old build definitions to the new template while retaining the settings (i.e. configurations to…

Steve L.
- 1,098
- 13
- 23
0
votes
2 answers
Run Powershell script on TFS server for publish to Azure
I try to configure TFS for Continuous Delivery to Azure by this article
In article TFS published package to Azure with Powershell script.
When build starts I get errors like ObjectNotFound: (Set-AzureDeployment:String) [], CommandNotFoundException.…

dbondarev
- 75
- 7
0
votes
1 answer
How to include only one symbol from a header file in C++
I have a big header file, but in a program, I only need a few specific variable defined in that header.
Is there any way in c++ that I tell it to include only that specific variable ?
And, yes, the variable has to be in that header file only.
What…

L Lawliet
- 2,565
- 4
- 26
- 35
0
votes
1 answer
How to pass test result to post-test script in TFS Build Definition
We have created a build definition in TFS 2013 that runs unit tests and then calls a PowerShell script once completed.
What we would like is the ability to pass the results of the unit test (passed/failed) to the PowerShell script so that a check…

Preetesh
- 1
0
votes
1 answer
TFS build template to take the drop (artefacts) from the CI build and execute Integration Tests
I have managed to chain two TFS builds together using Jason Stangroome's chaining build definition template. This gives me the capacity to execute one build definition after the next:
CertificateRepository-CI (Continuous Integration…

Richard Slater
- 6,313
- 4
- 53
- 81
0
votes
1 answer
Add argument/parameter to TFS Build Definition
I have a single build process template that I use for a number different builds definitions. I want to be able to specify an argument/parameter that is different for each build definition. I'll use this value in one of the workflow activities…

openshac
- 4,966
- 5
- 46
- 77
0
votes
1 answer
TFS Auto Build hangs waiting for termination of BAT file
I have a TFS Build Definition.
In the work flow, I need to bring up a console listener, and run some tests on this listener.
So I create a BAT file with the followings:
start cmd /k "d:\abc.exe"
If I run this BAT file, the BAT itself will…

Dunnomuch
- 223
- 1
- 2
- 11
0
votes
1 answer
How to know which agent is used for running a build definition of Visual Studio TFS 2012?
After executed, a build definition remains failed. I want to know which build agent was used by the build controller that run it.
How can I know that?

Nam G VU
- 33,193
- 69
- 233
- 372