A means of configuring a build such that different configuration options can be parameterized, rather than duplicating build steps, or having multiple builds. Applies to multiple build frameworks, such as Jenkins, and TFS's vNext.
Questions tagged [multi-configuration]
45 questions
39
votes
9 answers
Jenkins and multi-configuration (matrix) jobs
Why are there two kinds of jobs for Jenkins, both the multi-configuration project and the free-style project project? I read somewhere that once you choose one of them, you can't convert to the other (easily). Why wouldn't I always pick the…

joscarsson
- 4,789
- 4
- 35
- 43
23
votes
3 answers
Is it possible to convert a Jenkins free-style job to a multi-configuration job?
I have quite a few free-style jobs in Jenkins that I would like to convert to multi-configuration jobs so I can build across multiple platforms under one job. These jobs specify quite a few build parameters and I would like to not have to set them…

RC.
- 27,409
- 9
- 73
- 93
8
votes
2 answers
How to configure jenkins multi-configuration build and test
I need to build and test on multiple configurations: linux, osx and
solaris. I have slave nodes labeled "linux", "osx" and "solaris". On
each configuration, I want to (a) build (b) run smoke tests
(c) if smoke tests pass, then run full tests, and…

Peter McLain
- 1,138
- 7
- 6
7
votes
1 answer
Cmake: Specifiy config specific settings for multi-config cmake project
Cmake novice here, I am currently trying to convert a cmake project that was developed with only single configuration in mind to a multi-config project which can generate visual studio files.
My problem that I can not solve is that in the cmake…

rSir
- 113
- 1
- 6
5
votes
1 answer
Jenkins multi-configuration project doesn't aggregate test results
I have a multi-configuration project set up to run FF and IE selenium tests. However, it's not aggregating the test results.
If I look at the Project Page I see this:
If I go into a specific build I see this:
But if I click on one of those…

Joel
- 16,474
- 17
- 72
- 93
5
votes
1 answer
CMake find_package not handling multi-configurations
We're using Jenkins 2.60.2 and CMake 3.9.1 to automate our build system. This all works well for multiple versions of build tools, architectures and debug/release targets (if ALL configurations have been built and installed, so both Debug AND…

StarShine
- 1,940
- 1
- 27
- 45
5
votes
1 answer
Jenkins build multi-configuration project with MTAF not working on Sauce Labs
I configured the Magento Test Automation Framework (MTAF) with Jenkins and Sauce Labs and everything is working well. However, when building a multi-configuration project, I have selected two more browsers from the browser list in Jenkins' job…

Dharmalingam Arumugam
- 407
- 11
- 25
4
votes
2 answers
How do you make TeamBuild 2015 multiple configuration options not apply to all steps?
I like the concept behind MultiConfiguration via the "Options" tab in TFS 2015 TeamBuild. But I don't want the resulting "matrix build" to apply to every step in the build definition.
We generally want to run custom "post VS SLN compile steps"…

Keith Hill
- 194,368
- 42
- 353
- 369
4
votes
2 answers
Access file parameter in jenkins
I'm working on a multiconfiguration job(Regression_L1) in Jenkins whose task is to run 2 kinds of tests(test1 and test2). In the multiconfiguration job, it triggers an executor job(Regression_executor) to run script for the selected test. The…

ac22
- 93
- 1
- 2
- 10
4
votes
3 answers
Jenkins Python API and Multi-Configuration Projects
I have set up a multi-configuration project in Jenkins and I'm trying to manage those jobs through a command line script. I'm trying to use the jenkinsapi Python module for this. So far I've found how to get my job, but I can't figure out how to get…

Jonathan Sternberg
- 6,421
- 7
- 39
- 58
3
votes
1 answer
What is the proper way to handle `CMAKE_INSTALL_PREFIX` when using the Ninja Multi-Config cmake generator?
With the cmake generator "Ninja Multi-Config" what is the proper way to handle CMAKE_INSTALL_PREFIX. For instance, if you do:
$ cmake -DCMAKE_INSTALL_PREFIX=../install -G "Ninja Multi-Config" ..
$ cmake --build . --config Release --target…

CiaranWelsh
- 7,014
- 10
- 53
- 106
3
votes
0 answers
Jenkins: How to copy files from a Matrix build back to the master and actually use them
I have a multi-configuration Jenkins job which runs my tests in parallel on multiple slave nodes. I want to collect some artifacts from those slave builds back on the master, and then run a post build step to build a custom HTML page from them.
I…

Dan J
- 25,433
- 17
- 100
- 173
3
votes
3 answers
Make Jenkins build multiple configurations with variable SVN URLs
I want to automate our build processes.
We have 30+ configurations, each with a different SVN branch. Ideally, I would want to avoid having to create 30 separate Jenkins jobs, due to maintenance effort and risk of human error.
This is what…

Salieri
- 782
- 6
- 17
2
votes
0 answers
How to use Jenkins multi-configuration for micro-services build process?
To give a background, we have nearly 20 micor-services each of which has its own Jenkinsfile. Although each micro service may be doing some extra steps in their builds, e.g. building extra docker image, but most of these steps are the same across…

xbmono
- 2,084
- 2
- 30
- 50
2
votes
1 answer
How to keep artifacts directory during the multi-configuration build in TFS?
I have a solution with multiple projects where some are web apps. I have set up a multi-configuration build in TFS vNext that builds the single app, creates an MSDeploy package, gets the proper staging configuration files and add or replaces the…

Karel Frajták
- 4,389
- 1
- 23
- 34