How to build a non active branch with a build definition?

Adrien Blaizot

My project : One dev branch, multiple version branch.

I have : One build definition to build the main branch with test and one for create the production without test.

What I tried to do : I cloned my second Build definition, renamed it, changed the sln path on the process property and executed it manually to build a production version. The branch was created after passing all the test on the main (dev) branch

What's the result : "Exception Message: There is no working folder mapping for $/autocompletion/path_to/non_dev_branche/project.sln. (type ItemNotMappedException)"

I searched how to make the branch as a working folder (and if it's possible) without any result. The path was created by VS 2012, I just selected the file.

My process page

Daniel Mann

You have to update the build definition's workspace mappings. It should be on the tab named Parametres de la source. If it's not there, it'll be on one of the other tabs.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Jenkins - how to build a specific branch

From Dev

How to trigger one TeamCity build for multiple commits but one merge into a branch

From Dev

How to setup TFS 2013 build definition to build from Git tag?

From Dev

How to pass branch name to build.xml

From Dev

What is `build agent folder` $(SourceDir) of a build definition in TFS Build 2012?

From Dev

Easier TFS Build Definition Update

From Dev

How to get the updated argument(s) of a build process template refreshed in 'Process' section of a build definition?

From Dev

Queue build for non-default branch with git and VS

From Dev

How to share code between project and build definition project in SBT

From Dev

Granularity for TFS Build Definition Selection

From Dev

How to set a build definition argument with the value of another argument

From Dev

Apache Cordova Android 4.0.x branch - how to build?

From Dev

Select branch to build in Jenkins

From Dev

How to automatically change the trigger type of a build definition periodically?

From Dev

Docker: how to build an image from a non-master branch on Github repository

From Dev

TFS Build tag git branch with build number

From Dev

How to use the git branch as build nr in AppVeyor

From Dev

Copy 2015 build definition with tfpt

From Dev

How to share code between project and build definition project in SBT

From Dev

Select branch to build in Jenkins

From Dev

How to gain access to various TFS build definition parameters

From Dev

How to determine the build definition that triggered a release in TFS?

From Dev

How to skip a build task/step instead of disable it in TFS vNext build definition?

From Dev

How to get the current Git branch name in a TFS 2013 build?

From Dev

How can I query a TFS Build Definition custom defined variable within a PowerShell Build Step

From Dev

TFS Build Definition with WIX and .build file

From Dev

How to tag a vats build based on the git's branch name?

From Dev

How to add CorePlot release branch 2.3 to current build - CocoaPods assistance

From Dev

How to manually choose Source Branch for a Build definition using TFVC in TFS?

Related Related

  1. 1

    Jenkins - how to build a specific branch

  2. 2

    How to trigger one TeamCity build for multiple commits but one merge into a branch

  3. 3

    How to setup TFS 2013 build definition to build from Git tag?

  4. 4

    How to pass branch name to build.xml

  5. 5

    What is `build agent folder` $(SourceDir) of a build definition in TFS Build 2012?

  6. 6

    Easier TFS Build Definition Update

  7. 7

    How to get the updated argument(s) of a build process template refreshed in 'Process' section of a build definition?

  8. 8

    Queue build for non-default branch with git and VS

  9. 9

    How to share code between project and build definition project in SBT

  10. 10

    Granularity for TFS Build Definition Selection

  11. 11

    How to set a build definition argument with the value of another argument

  12. 12

    Apache Cordova Android 4.0.x branch - how to build?

  13. 13

    Select branch to build in Jenkins

  14. 14

    How to automatically change the trigger type of a build definition periodically?

  15. 15

    Docker: how to build an image from a non-master branch on Github repository

  16. 16

    TFS Build tag git branch with build number

  17. 17

    How to use the git branch as build nr in AppVeyor

  18. 18

    Copy 2015 build definition with tfpt

  19. 19

    How to share code between project and build definition project in SBT

  20. 20

    Select branch to build in Jenkins

  21. 21

    How to gain access to various TFS build definition parameters

  22. 22

    How to determine the build definition that triggered a release in TFS?

  23. 23

    How to skip a build task/step instead of disable it in TFS vNext build definition?

  24. 24

    How to get the current Git branch name in a TFS 2013 build?

  25. 25

    How can I query a TFS Build Definition custom defined variable within a PowerShell Build Step

  26. 26

    TFS Build Definition with WIX and .build file

  27. 27

    How to tag a vats build based on the git's branch name?

  28. 28

    How to add CorePlot release branch 2.3 to current build - CocoaPods assistance

  29. 29

    How to manually choose Source Branch for a Build definition using TFVC in TFS?

HotTag

Archive